//-----------------------------------------------------------------------
// Skin name..............: 2B-VGA
// Skin version...........: 1.50
// TodayPlus version......: 0.11.0
// Update date............: Febuary 21th 2005
// Administrator..........: Geezer
//------------------------------------------------------------------------

//------------------ Informational Data (Overall Regions and Vars Used Are Listed Here)  -------------

// Region	1,0             Navigation (Button Area)
// Region	2,0         	Main Page
// Region  	3,1 - 3,3	Weather / NEW Sun & Moon Phases
// Region  	4            	Upper Region for Main Page
// Region  	4,1 - 4,2 	Battery and Special for Main Page - (Region 2)
// Region  	4,3 - 4,6 	News Ticker for Main Page - (Region 6)
// Region  	5,0           	Agenda Area for Main Page
// Region  	6,0           	News Ticker for Main Page
// Region  	7,0 - 7,7   	Weather Detail / Moon Phase / Astrological / Radar / Traffic Pages
// Region  	8,0 	   	Weather (Weather Update Popup) for Weather Page
// Region  	9,0           	POOM Agenda & Tasks - Calendars
// Region 	10,0		Photo Album
// Region 	11,0 - 11,1 	Time Zones
// Region 	12,0          	News (RSS)
// Region 	13,0          	News (RSS Header)
// Region 	14,0          	News (RSS Text)
// Region 	15,0 - 16,2     Quicklaunch
// Region	17,0		System
// Region	18,0		System Update Popup
// Region	19,0 - 19,1	User Info / Skin Info

// ------------  1st Number in Parenthesis is Region.  2nd Number (behind '-') is occurrences.
//				SOME OF THESE ARE NOT UPDATED YET!!

// var0		(7,1-6) Moon Phases
// var1		(3-8) Weather Forecast / (7-7) Forecast header AND weather details / (7,7-5) Future Radar region?
// var2	  *	(13-9) RSS Heading / (14-1) RSS Text Output
// var3		(17-4) Quicklaunch Icon Size / (16-1) QL Icon Layout
// var4	  *	(13-16) RSS LH Side of Page / (14-2) RSS Text Output
// var5		(13-8) RSS Heading / (13-47) RSS LH Side of Page
// var6		(13-7) RSS Heading
// var7		(7,1-17) Moon Phases
// var8		(9-9) Agenda Filter / (9-9) Filter Button Defined / (9-3) Smooth Scrolling
// var9		(5-6) Week Number / (3-3) PreSetup for for Weather / (3-6) Sun & Moon Phases in Weather / (7-1) Load City / (8-2) Load City / (9-6) Week Number
// var10	(7,6-##) Weather Icon Selections
// var11	(9-9) Agenda Filter / (9-9) Filter Button Defined / (9-2) Smooth Scrolling
// var12	(15-31) Quicklaunch Menu Buttons / (16,0-40) QL Icon Layout / (16,2-40) QL Icon Layout
// var13	(8-15) Scroll for Popup Menu / (9-9) Agenda Filter / (9-9) Filter Button Defined / (9-2) Smooth Scrolling / (1-4) RH Buttons
// var14	(6-1) News Ticker / (3-2) Moon Phases in Weather / (7,1-10) Moon Phases
// var15	(6-12) News Ticker (Main Page)
// var16	(9-19) Agenda Filter / (9-18) Filter Buttons Defined
// var17	(2-3) Battery Specifics / (4,2-3) Memory Meter / (17-3) Memory Meter
// var18	(PreSetup-1) numlauncher
// var19	(9-9) Filter Button Defined / (9-1) 5 Day Scroll
// var20	(2-2) Abbreviated Weather / (2-1) Actual Updated Time / (3-2) Actual Weather / (3-2) Weather Forecast / (3-1) Actual Updated Time / (13-14) RSS Update Information
// var21	(2-15) Abbreviated Weather / (3-32) Weather Forecast
// var22	(9-4) 5 Day Scroll
// var23	(17-4) Zodiac Icon Selection
// var24	(PreSetup-2) Button Images Folder / (17-3) Button Images Folder / (16,2-3) Button Images Folder
// var25	(   ) Traffic RSS
// var26  *	(5-2) Week Number / (9-2) Week Number
// var27  *	(5-2) Week Number / (9-2) Week Number
// var28	(PreSetup-1) numrss / (13-3) RSS Heading
// var29	(PreSetup-1) numcities / (3-1) PreSetup for Weather / (8-3) Popup Menu
// var30	(  ) Sunrise Calculations
// var31
// var32  *	(5-9) Week Number / (9-9) Week Number
// var33  *	(5-7) Week Number / (9-7) Week Number
// --------------------- Version 11 Traditional Limit --------------------
// var34	BAD
// var35	BAD
// var36	BAD
// var37	BAD
// var38	BAD
// var39	BAD
// var40	BAD
// var41
// var42
// var43
// var44
// var45
// var46
// var47
// var48
// var49
// var50	USED
// var51	USED
// var52
// var53	RSS
// var54	(12,3- )Zodiac RSS Description
// var55
// var56
// var57  *#	(5-2) Week Number / (9-2) Week Number
// var58	(   ) Traffic Region - RSS code
// var59   #	(9-9) Day Number / 7-6
// var60   #	(9-2) Day Number
// var61   #	(5-1) Week Number / (9-1) Week Number / (9-3) Day Number / (1-4) RH Buttons
// var62	(10- ) Photo Album
// var63        (10- ) Photo Album
// var64        (3- ) Wind Direction
// var65	(0- ) Zodiac RSS Description

// ---------------These Are Great Examples For Troubleshooting VAR Outputs-----------\\
//text,60,270,var30=%var30%,l   //(for Troublshooting)
//text,125,270,var59=%var59%,l  //(for Troublshooting - Day of Year)
//storevar,var17=1
//text,185,270,var19=%var19%,l  //(for Troublshooting)

//------------------ DEFINE PLUGIN HEIGHT, MAX and START SIZE (SPACE FOR DATA TO BE VISIBLE)

maxheight,288	//288 will be set size but can be adjusted to 640 for troubleshooting
height,288	//288 This will need to be adjusted for entire page once other regions are defined

//------------------ DEFINE WHICH REGIONS ARE DISPLAYED BY DEFAULT-------\\

//  You can use the initregion section, here, for setting up which region you want to display
//  at startup.  It is currently setup to display... (my Agenda/Task page.)

initregion,0,999	// Window for Zodiac data		NO
initregion,1,0		// Quick Launch  			YES
initregion,2,0		// Main Page				YES
initregion,3,999	// Weather				NO
initregion,5,0		// Agenda on Main Page			YES
initregion,6,0		// News Ticker on Main Page		YES
initregion,7,999	// Weather Details			NO
initregion,8,999	// Weather Center Pop Up		NO
initregion,9,999	// Agenda Calendars			NO
initregion,10,999	// Agenda & Task Countdown Calendars	NO
initregion,11,999	// Time Zones				NO
initregion,12,999	// RSS News				NO
initregion,13,999	// RSS Header				NO
initregion,14,999	// RSS Text				NO
initregion,15,0		// Navigation (Button Area) 		YES
initregion,16,0		// Navigation (Sub Area)		YES
initregion,17,999	// System Screen			NO
initregion,18,999	// System Update PopUp			NO
initregion,19,999	// User Info/Skin Info			NO

initvar,var0,1		// Weather Main Page
initvar,var2,1  	// RSS Headlines
initvar,var9,1		// Weather Page - City
initvar,var10,1		// Weather Icon Default Selection
initvar,var23,1		// Zodiac Icon Default Selection
initvar,var24,2		// Button Images
initvar,var17,0		// Battery - System Storage
initvar,var15,0		// RSS Mainpage
initvar,var8,183	// Agenda Scrolling Starting point for my window size?
initvar,var11,105 	// Agenda Scrolling Top starting point for listing
initvar,var13,228	// Agenda Scrolling
initvar,var3,1          // 2:small icon; 1:large icon (For QL Icons)
initvar,var26,18	// RSS
initvar,var27,158	// RSS
initvar,var58,1		// Traffic RSS Map (toggle)
initvar,var51,1		//
initvar,var61,1

//------------------ OTHER  DEFAULT OPTIONS ------------------\\

	options,weathericondir,Weather Icons\Deviant_VGA,png
//	options,zodiacimagedir,Images\Zodiac\Zodiac1,png

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

	color,transparent,255_0_255
	color,replacement,0_0_0-,-1_6_-1
	color,shadow,125_125_125
	color,font,-1_4_-1

	calcvar,var18,fromconfig,numlauncher
	calcvar,var28,fromconfig,numrss
	calcvar,var29,fromconfig,numcities

//	options,zodiacimagedir,Images\Zodiac\Zodiac1,png

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

	//===================================
	// Variable for Icons Sets
	//===================================

	if,var,var10,,=,1

		options,weathericondir,Weather Icons\Deviant_VGA,png

		else

		if,var,var10,,=,2

			options,weathericondir,Weather Icons\Shiny_VGA,png

			else

			if,var,var10,,=,3

				options,weathericondir,Weather Icons\64x64,png

				else

				if,var,var10,,=,4

					options,weathericondir,Weather Icons\Umicon_VGA,png

					else

					if,var,var10,,=,5

						options,weathericondir,Weather Icons\Stardock_VGA,png

						else

						if,var,var10,,=,6

							options,weathericondir,Weather Icons\Crystal_VGA,png

							else

							if,var,var10,,=,7

								options,weathericondir,Weather Icons\WeatherPod_VGA,png

								else

								if,var,var10,,=,8

									options,weathericondir,Weather Icons\2B-VGA_Favs,png

								endif
							endif
						endif
					endif
				endif
			endif
		endif
	endif

//=================================================
// 	Begin Main Viewing Page
//
// 	REGION 2 - PAGE 0
//	Container for Main Viewing Page Area
//	Subregions: Added Regions 4, 1-4,
//	Vars used:
//	Dimensions:  447 x 226
//=================================================

//=== Puts Date, Calendar, Abbreviated Weather, Immediate Agenda/Tasks and  ==\\
//=== Nifty News Ticker on Today Screen. 			            ==\\

region,2,0,30
defregion,2,0,85,447,226,1

clearregion,3
clearregion,7
clearregion,8
clearregion,9
clearregion,10
clearregion,11
clearregion,12
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,3
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,17
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,2
activatebuttons,4
activatebuttons,5
activatebuttons,15
activatebuttons,16

updateregions,5
updateregions,6
updateregions,15
updateregions,16

	//====================================
	//  Date - Time
	//====================================

	changefont,tahoma,25,
	time,5,106,-1,5,ls,"dddd",

	changefont,tahoma,13,b
	time,5,128,-1,5,l,"MMMM dd, yyyy",

	changefont,tahoma,12,

	//===================================
	// Abbreviated Weather
	//===================================

	if,refresh

		color,font,125_125_125

		else

		color,font,0_0_0

	endif

	load,city,1

	calcvar,var20,weatherupdatetimediff

	if,var,var20,,<,360

  		// First Listed Day
		forecast,date_ddd,1,290,210,,,c
		forecasticon,1,260,220,,t
		forecast,high,1,325,235,,,l
		forecast,low,1,325,245,,,l
		forecast,precipitation,1,325,255,,%,l

  		// Second Listed Day
		forecast,date_ddd,2,380,210,,,c
		forecasticon,2,350,220,,t
		forecast,high,2,415,235,,,l
		forecast,low,2,415,245,,,l
		forecast,precipitation,2,415,255,,%,l

		else

		calcvar,var21,firstvalidforecastday

		if,var,var21,,<,6

  			// First Listed Day
			forecast,date_ddd,%var21%,290,210,,,c
			forecasticon,%var21%,260,220,,t
			forecast,high,%var21%,325,235,,,l
			forecast,low,%var21%,325,245,,,l
			forecast,precipitation,%var21%,325,255,,%,l

			addvar,var21,1

			else

			image,260,220,none.png,t

		endif

		if,var,var21,,<,6

  			// Second Listed Day
			forecast,date_ddd,%var21%,380,210,,,c
			forecasticon,%var21%,350,220,,t
			forecast,high,%var21%,415,235,,,l
			forecast,low,%var21%,415,245,,,l
			forecast,precipitation,%var21%,415,255,,%,l

			addvar,var21,1

			else

			image,350,220,none.png,t

		endif
	endif

	//========================================
	// Actual Updated Time
	//========================================

	if,var,var20,,<,240

		image,5,86,WebDataUpdate1.png,t
		changefont,tahoma,12,b
		text,11,86,Updated: ,l
		text,33,96,[updatetime],c,HH:mm

		else

		image,5,86,WebDataUpdate1.png,t
		text,11,86,Updated: ,l
		color,font,255_0_0
		text,33,96,[updatetime],c,HH:mm
		color,font,0_0_0

	endif

	if,refresh

		image,5,86,WebDataUpdate2.png,t

		else
	endif

	changefont,tahoma,12,
	color,font,0_0_0

	button,5,86,59,25,-1,7-nohighlight,-1
	button,5,86,59,25,-1,14,CFSOLVE.wav
	button,5,86,59,25,2,0,\Program Files\TodayPlus\Apps\TpExeDelay.exe,2

	//========================================
	// Calendar on Main Page
	//========================================

	image,388,87,Calender_header_horizontal_main_gray.png
	image,413,87,Calender_header_horizontal_main_red.png
	image,260,87,Calender_header_main.png

	changefont,tahoma,18,
	calendarheader,260,85,25
	changefont,tahoma,18,
	calendar,0,0,260,100,25,20,l
	changefont,tahoma,12,

	button,260,100,180,120,-1,23,0,5
	button,260,100,180,120,-1,23,1,5
	button,260,100,180,120,-1,23,2,5
	button,260,100,180,120,-1,23,3,5
	button,260,100,180,120,-1,5,-highlight,5

	//=================================
	// Battery - Specifics
	//=================================

	if,var,var17,,=,0

		jumpregion,4,2
		storevar,var17=1

		else

		jumpregion,4,1
		storevar,var17=0

	endif

  // Battery ========================

  region,4,1,-1

       battery,bar,185,105,52,13,gradient_gradient red-green.png
       image,183,105,meters.png,t

       imagebutton,185,105,Metersbutton.png,tr,-1,0,%apps-2-2-highlight

       changefont,tahoma,12

       if,batterystatusunknown

               image,140,90,battery_unknownVGA.png,t
               text,211,90,Battery: ?,c
               image,183,126,neon_shadow.png,
               imagebutton,183,126,neon.png,tr,-1,0,%apps-2-6-highlight

               else

               if,charging

                       image,140,90,battery_chargingVGA.png,t
                       text,211,90,Charging.....,c
                       image,183,126,neon_shadow.png,
                       imagebutton,183,126,neon.png,tr,-1,0,%apps-2-6-highlight

                       else

                       if,externalpower,=,true

                               image,140,90,battery_chargedVGA.png,t
                               text,211,90,Net,c
                               image,183,126,neon_shadow.png,
                               imagebutton,183,126,neon.png,tr,-1,0,%apps-2-6-highlight

                               else

                               image,140,90,batteryVGA.png,t
                               battery,remaining,211,90,Battery: ,%,c
                               image,183,126,neon_shadow.png,
                               imagebutton,183,126,neon.png,tr,-1,0,%apps-2-6-highlight

                       endif
               endif
       endif

  endregion,4,1

  // UpTime Specifics ========

  region,4,2,-1

       text,195,87,UpTime,l
       image,140,90,UptimeVGA.png,t,l
       changefont,Tahoma,12,b
       uptime,200,100,battery,duration,,,l
       changefont,Tahoma,11,
       text,184,115,*Last Reset:*,l
       uptime,184,128,softreset,time,M/d @ ,h:mm t,,,l
       changefont,Tahoma,12,

  endregion,4,2

endregion,2,0

//=================================================
// 	Begin Agenda Area on Main Page
//
// 	REGION 5 - PAGE 0
//	Container for Agenda Area
//	Subregions:
//	Vars used: 5
//	Dimensions:  447 x 250
//=================================================

region,5,0,-1
defregion,5,0,143,260,60,1
cleararea,0,143,260,70

	//=======================================
	// Text For Agenda
	//=======================================

	image,4,143,headline.png
	changefont,Tahoma,12,b
	text,8,143,Agenda/Tasks,l

	options,calendarfilter,1
	options,taskfilter,1

	// -- An Option to add a second 1-line filter.
	//options,calendarfilter,2
	//options,taskfilter,2

	options,dateformat,3,15,18,%changefont,tahoma,11,%%line,235,10,-1_6_-1%%bold%%date,l%%regularfont%
	options,today-text,'Today', dd, MMMM  yyyy
	options,tomorrow-text,'Tomorrow', dd, MMMM  yyyy

	options,apptformat,0,11,13,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%image,10,2,small_arrow_right.png,t%%tab,20%%starttime,HH:mmt%%tab,70%%//bold%%subject%%regularfont%
	options,apptallday,0,11,13,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%textcolor,0_0_128%%image,10,2,small_arrow_right.png,t%%tab,20%All Day%tab,70%%//bold%%subject%%regularfont%%textcolor,0_0_0%

	options,taskformat,0,11,13,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%checkbox,10,0,12,12,dot.png,dot1.png,t%%tab,20%[%enddate,dd/MM%]%tab,70%%subject%%changefont,tahoma,11,%
	options,taskoverdue,0,11,13,%textcolor,255_0_0%%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%checkbox,10,0,12,12,dot.png,dot1.png,t%%tab,20%[%enddate,dd/MM%]%tab,70%%subject%%changefont,tahoma,11,%%resettextcolor%
	options,taskcomplete,0,11,13,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,s%%checkbox,10,0,12,12,dot.png,dot1.png,tr%%tab,20%[%enddate,dd/MM%]%tab,70%%subject%%changefont,tahoma,11,%
	options,blanktext,-1,11,13,

	outlook,4,155,230,60,0,0,228,,,5
	button,4,155,48,60,-1,24,nohighlight,5
	changefont,tahoma,12,

	//===========================================
	// Lists Week Number to right of Agenda/Tasks Date
	//===========================================

	calcvar,var33,firstoutlookday

	if,var,var33,,<,38719
		//38348 is 12-27-2005
		addvar,var33,-38348

		else

		if,var,var33,,<,39083
			//38712 is 1-1-2006
			addvar,var33,-38712

			else
			//39076 is 1-1-2007
			addvar,var33,-39076

			else
			endif
		endif
	endif

	calcvar,var32,/,%var33%,7

	calcvar,var26,/,%var32%,10
	calcvar,var27,*,%var26%,10
	calcvar,var9,-,%var32%,%var27%

	changefont,tahoma,11,b
	color,font,0_0_0

	if,var,var61,,=,1

		if,var,var9,,=,1

			text,231,155,%var32%st Week,r

			else

			if,var,var9,,=,2

				text,231,155,%var32%nd Week,r

				else

				if,var,var9,,=,3

					text,231,155,%var32%rd Week,r

					else

					if,var,var9,3,><,9

						text,231,155,%var32%th Week,r

						else

						if,var,var9,,=,0

							text,231,155,%var32%th Week,r

							else
						endif
					endif
				endif
			endif
		endif

		else

		calcvar,var57,-,52,%var32%
		text,220,155,%var57% Weeks,l

	endif

	color,font,-1_4_-1
	changefont,tahoma,12,


endregion,5,0

//============= End Main Page Agenda Area =============\\

//=================================================
// 	Begin News Ticker Area on Main Page
//
// 	REGION 6 - PAGE 0
//	Container for News Ticker
//	Subregions: 3-4, 6
//	Vars used:
//	Dimensions:  447 x 260
//=================================================

region,6,0,10
defregion,6,0,216,260,63,
cleararea,0,216,260,70

	//=======================================
	// Text For News Ticker (Header is First)
	//=======================================

	image,4,216,headline.png
	changefont,Tahoma,12,b
	text,12,216,News Ticker,l

	/////// Puts 'Program Memory Free' on Main Screen \\\\\\\\

	changefont,Frutiger Linotype,12,b
	color,font,128_0_0
	text,112,216,Prog/Free:,l

	color,font,0_0_0
	color,font,0_0_128
	memory,programfree,165,216,, Mb,l

	if,var,var14,1,><,37

		image,90,216,mem.png,t
		else
		image,90,216,memlow.png,t
	endif

	imagebutton,110,216,MemLoading1.png,tr,-1,0,%apps-2-5,-1

  // inputs data for news //

	if,refresh

		color,font,125_125_125

		else

		color,font,0_0_0
	endif

	if,var,var15,,=,0

		jumpregion,4,3
		storevar,var15=1

		else

		if,var,var15,,=,1

			jumpregion,4,4
			storevar,var15=2

			else

			if,var,var15,,=,2

				jumpregion,4,5
				storevar,var15=3

				else

				if,var,var15,,=,3

					jumpregion,4,6
					storevar,var15=4

					else

					if,var,var15,,=,4

						jumpregion,4,7
						storevar,var15=5

						else

						if,var,var15,,=,5

							jumpregion,4,8
							storevar,var15=0
						endif
					endif
				endif
			endif
		endif
	endif

  //RSS NEWS TICKER============================

  region,4,3,-1

	load,rss,1

	RSS,title,4,229,240,12,1,,,l
	RSS,title,4,240,240,12,2,,,l
	RSS,title,4,251,240,12,3,,,l
	RSS,title,4,262,240,12,4,,,l
	RSS,title,4,273,240,12,5,,,l

  endregion,4,3

  //RSS NEWS TICKER============================

  region,4,4,-1

	load,rss,2

	RSS,title,4,229,240,12,1,,,l
	RSS,title,4,240,240,12,2,,,l
	RSS,title,4,251,240,12,3,,,l
	RSS,title,4,262,240,12,4,,,l
	RSS,title,4,273,240,12,5,,,l

  endregion,4,4

  //RSS NEWS TICKER============================

  region,4,5,-1

	load,rss,1

	RSS,title,4,229,240,12,1,,,l
	RSS,title,4,240,240,12,2,,,l
	RSS,title,4,251,240,12,3,,,l
	RSS,title,4,262,240,12,4,,,l
	RSS,title,4,273,240,12,5,,,l

  endregion,4,5

  //RSS NEWS TICKER============================

  region,4,6,-1

	load,rss,2

	RSS,title,4,229,240,12,6,,,l
	RSS,title,4,240,240,12,7,,,l
	RSS,title,4,251,240,12,8,,,l
	RSS,title,4,262,240,12,9,,,l
	RSS,title,4,273,240,12,10,,,l

  endregion,4,6

  //RSS NEWS TICKER============================

  region,4,7,-1

	load,rss,2

	RSS,title,4,229,240,12,6,,,l
	RSS,title,4,240,240,12,7,,,l
	RSS,title,4,251,240,12,8,,,l
	RSS,title,4,262,240,12,9,,,l
	RSS,title,4,273,240,12,10,,,l

  endregion,4,7

  //RSS NEWS TICKER============================

  region,4,8,-1

	load,rss,2

	RSS,title,4,229,240,12,6,,,l
	RSS,title,4,240,240,12,7,,,l
	RSS,title,4,251,240,12,8,,,l
	RSS,title,4,262,240,12,9,,,l
	RSS,title,4,273,240,12,10,,,l

  endregion,4,8

endregion,6,0

//============= End News Ticker Region =============\\

//============= END Main View Page =============\\

//=================================================
// 	Begin Weather Section
//
// 	REGION 3 - PAGE 0
//	Container for Weather Sections
//	Subregions: 6,7
//	Vars used:
//	Dimensions:  447 x 226
//
//=================================================

region,3,0,60
defregion,3,0,85,447,226,1

clearregion,2
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,10
clearregion,12
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,2
deactivatebuttons,5
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,17
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,3
activatebuttons,1
activatebuttons,15
activatebuttons,16

	if,region,8,0
		updateregions,8
	else
	endif

	if,region,7,0
		updateregions,7
	else
	endif

	if,region,7,2
		updateregions,7
	else
	endif

	if,region,7,3
		updateregions,7
	else
	endif

	if,region,7,4
		updateregions,7
	else
	endif

	if,region,7,5
		updateregions,7
	else
	endif

	updateregions,15
	updateregions,16

	color,font,0_0_0

	if,var,var9,,>,%var29%
		storevar,var9=1
		else
	endif

	load,city,%var9%

	//===================================
	// Variable for Icons Sets
	//===================================

	if,var,var10,,=,1

		options,weathericondir,Weather Icons\Deviant_VGA,png

		else

		if,var,var10,,=,2

			options,weathericondir,Weather Icons\Shiny_VGA,png

			else

			if,var,var10,,=,3

				options,weathericondir,Weather Icons\64x64,png

				else

				if,var,var10,,=,4

					options,weathericondir,Weather Icons\Umicon_VGA,png

					else

					if,var,var10,,=,5

						options,weathericondir,Weather Icons\Stardock_VGA,png

						else

						if,var,var10,,=,6

							options,weathericondir,Weather Icons\Crystal_VGA,png

							else

							if,var,var10,,=,7

								options,weathericondir,Weather Icons\WeatherPod_VGA,png

								else

								if,var,var10,,=,8

									options,weathericondir,Weather Icons\2B-VGA_Favs,png

								endif
							endif
						endif
					endif
				endif
			endif
		endif
	endif

	//===================================
	// Header Section
	//===================================

	image,125,87,headline_title_vertical.png,t
	changefont,Tahoma,13,b

	text,220,87,Weather - ,r
	text,220,87,[name],l
	changefont,Tahoma,12,

	image,125,99,headline_title_verticalshade.png,t
	button,125,99,204,13,3,4,1

	text,220,99,Current,c

	if,refresh

		color,font,125_125_125
		jumpregion,7,999
		jumpregion,8,999

		else

		color,font,0_0_0

	endif

	//===================================
	// Actual Weather Data
	//===================================

	calcvar,var20,weatherupdatetimediff

	if,var,var20,,<,360

		changefont,tahoma,18
		todayicon,40,120,,t

	     // Button to switch to weather page 2
		button,40,120,64,64,3,4,1

		today,sky,110,120,,,l
		text,110,135,Temp:,l
		today,temp,195,135,,F,l
		text,110,150,Feels Like:,l
		today,realtemp,195,150,,F,l
		text,110,165,Barometer:,l
		today,barometer,195,165,,kpa,l
		today,humidity,260,120,Humidity: ,%,l
		today,uv,260,135,UV-Index: ,,l
		today,winddir,260,150,Wind Dir: , ,l
		today,windspeed,260,165,Wind Speed: ,,l
		changefont,tahoma,12
		today,date,125,189,ONLINE Weather Updated , ,l

	options,imagedir,Images\Wind_VGA

		image,360,120,BlueWind.png,t

		calcvar,var64,fromconfig,c%var9%windir
		load,city,%var9%

		//storevar,var64=14

		changefont,tahoma,18,b
		color,font,0_0_128
		today,windspeed,393,143,,,c
		color,font,0_0_0
		changefont,tahoma,12,

		if,var,var64,,=,1
			image,360,120,1.png,t

			else

			if,var,var64,,=,2
				image,360,120,2.png,t

				else

				if,var,var64,,=,3
					image,360,120,3.png,t

					else

					if,var,var64,,=,4
						image,360,120,4.png,t

						else

						if,var,var64,,=,13
							image,360,120,13.png,t

							else

							if,var,var64,,=,14
								image,360,120,14.png,t

								else

								if,var,var64,,=,23
									image,360,120,23.png,t

									else

									if,var,var64,,=,24
										image,360,120,24.png,t

										else

										if,var,var64,,=,113
											image,360,120,113.png,t

											else
										endif
									endif
								endif
							endif
						endif
					endif
				endif
			endif
		endif

		if,var,var64,,=,114
			image,360,120,114.png,t

			else

			if,var,var64,,=,223
				image,360,120,223.png,t

				else

				if,var,var64,,=,224
					image,360,120,224.png,t

					else

					if,var,var64,,=,313
						image,360,120,313.png,t

						else

						if,var,var64,,=,323
							image,360,120,323.png,t

							else

							if,var,var64,,=,414
								image,360,120,414.png,t

								else

								if,var,var64,,=,424
									image,360,120,424.png,t

									else

									if,var,var64,,=,998
										image,360,120,998.png,t

										else

										if,var,var64,,=,999
											image,360,120,999.png,t

											else
										endif
									endif
								endif
							endif
						endif
					endif
				endif
			endif
		endif


		if,var,var24,,=,1

			options,imagedir,Images\Icons-2B1

			else

			options,imagedir,Images\Icons-2B

		endif

		else

		changefont,tahoma,26
		text,230,150,No weather data available,c
		changefont,tahoma,12
	endif


	//===================================
	// Weather Forecast - Set For 4 Days
	//===================================

	calcvar,var20,weatherupdatetimediff

	if,var,var20,,<,360

		imagebutton,16,205,Weather_Button_Blue.png,t,7,4,0,3
		button,16,205,95,80,7,4,0,3
		button,16,205,95,80,7,6,var1=1
		forecasticon,1,13,220,,t
		forecast,date_dddd,1,18,205,,,l
		forecast,date_MMM dd,1,108,205,,,r
		forecast,high,1,111,220,H: ,F,r
		forecast,low,1,111,231,L: ,F,r
		forecast,precipitation,1,111,270,PoP: ,%,r

		imagebutton,121,205,Weather_Button_Blue.png,t,7,4,0,3
		button,121,205,95,80,7,4,0,3
		button,121,205,95,80,-1,6,var1=2
		forecasticon,2,118,220,,t
		forecast,date_dddd,2,123,205,,,l
		forecast,date_MMM dd,2,213,205,,,r
		forecast,high,2,215,220,H: ,F,r
		forecast,low,2,215,231,L: ,F,r
		forecast,precipitation,2,215,270,PoP: ,%,r

		imagebutton,226,205,Weather_Button_Blue.png,t,7,4,0,3
		button,226,205,95,80,7,4,0,3
		button,226,205,95,80,-1,6,var1=3
		forecasticon,3,223,220,,t
		forecast,date_dddd,3,228,205,,,l
		forecast,date_MMM dd,3,318,205,,,r
		forecast,high,3,319,220,H: ,F,r
		forecast,low,3,319,231,L: ,F,r
		forecast,precipitation,3,319,270,PoP: ,%,r

		imagebutton,331,205,Weather_Button_Blue.png,t,7,4,0,3
		button,331,205,95,80,7,4,0,3
		button,331,205,95,80,-1,6,var1=4
		forecasticon,4,328,220,,t
		forecast,date_dddd,4,333,205,,,l
		forecast,date_MMM dd,4,423,205,,,r
		forecast,high,4,423,220,H: ,F,r
		forecast,low,4,423,231,L: ,F,r
		forecast,precipitation,4,423,270,PoP: ,%,r

		else

		calcvar,var21,firstvalidforecastday

		if,var,var21,,<,6

			imagebutton,16,205,Weather_Button_Blue.png,t,7,4,0,3
			button,16,205,95,80,-1,6,var1=%var21%
			button,16,205,95,80,7,4,0,3
			forecasticon,%var21%,13,220,,t
			forecast,date_dddd,%var21%,18,205,,,l
			forecast,date_MMM dd,%var21%,108,205,,,r
			forecast,high,%var21%,111,220,H: ,F,r
			forecast,low,%var21%,111,231,L: ,F,r
			forecast,precipitation,%var21%,111,270,PoP: ,%,r

			addvar,var21,1

			else

			image,13,220,none.png,t

		endif

		if,var,var21,,<,6

			imagebutton,121,205,Weather_Button_Blue.png,t,7,4,0,3
			button,121,205,95,80,-1,6,var1=%var21%
			button,121,205,95,80,7,4,0,3
			forecasticon,%var21%,118,220,,t
			forecast,date_dddd,%var21%,123,205,,,l
			forecast,date_MMM dd,%var21%,213,205,,,r
			forecast,high,%var21%,215,220,H: ,F,r
			forecast,low,%var21%,215,231,L: ,F,r
			forecast,precipitation,%var21%,215,270,PoP: ,%,r

			addvar,var21,1

			else

			image,118,220,none.png,t

		endif

		if,var,var21,,<,6

			imagebutton,226,205,Weather_Button_Blue.png,t,7,4,0,3
			button,226,205,95,80,-1,6,var1=%var21%
			button,226,205,95,80,7,4,0,3
			forecasticon,%var21%,223,220,,t
			forecast,date_dddd,%var21%,228,205,,,l
			forecast,date_MMM dd,%var21%,318,205,,,r
			forecast,high,%var21%,319,220,H: ,F,r
			forecast,low,%var21%,319,231L: ,F,r
			forecast,precipitation,%var21%,319,270,PoP: ,%,r

			addvar,var21,1

			else

			image,223,220,none.png,t

		endif

		if,var,var21,,<,6

			imagebutton,331,205,Weather_Button_Blue.png,t,7,4,0,3
			button,311,205,95,80,-1,6,var1=%var21%
			button,311,205,95,80,7,4,0,3
			forecasticon,%var21%,328,220,,t
			forecast,date_dddd,%var21%,333,205,,,l
			forecast,date_MMM dd,%var21%,423,205,,,r
			forecast,high,%var21%,423,220,H: ,F,r
			forecast,low,%var21%,423,231,L: ,F,r
			forecast,precipitation,%var21%,423,270,PoP: ,%,r

			addvar,var21,1

			else

			image,328,220,none.png,t

		endif
	endif

	//===================================
	// Centered About "Menu"(Located on right side of "current" weather)
	//===================================

	imagebutton,325,99,center_about.png,tr,8,4,0,3
	text,330,99,Menu,l

	//============================================
	// Actual Updated Time  (Located on left side of "current" weather)
	//============================================

	// --  Radar Button Added

	imagebutton,5,96,Radar.png,t,7,4,6,3
	button,5,96,32,32,3,4,999

	image,45,99,Weather_update_background.png,

	if,var,var20,,<,240

		text,50,99,Updated:,l
		text,100,99,[updatetime],l,HH:mm

		else

		text,50,99,Update Time:,l
		color,font,255_0_0
		text,112,99,[updatetime],l,HH:mm
		color,font,0_0_0

	endif

	if,refresh

		image,45,99,Updating_Weather.png,

		else

	endif

	button,45,99,83,13,8,4,999
	button,45,99,83,13,7,4,999
	button,45,99,83,13,-1,7,,3
	button,45,99,83,35,-1,14,CFSOLVE.wav

	color,font,0_0_0

	//===================================
	// End Time
	//===================================

	image,205,111,Weather_done.png,
	time,220,113,7,4,c

endregion,3,0

//=================================================
// 	Begin Weather Sub-Section  (Thanks to Zapme1 for letting me use
//                                  this data from his original idea.)
// 	REGION 3 - PAGE 1
//	Container for Sun/Mon Elevations
//	Dimensions:  447 x 226
//
//=================================================

region,3,1,300
defregion,3,1,85,447,226,1

clearregion,2
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,10
clearregion,12
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,2
deactivatebuttons,5
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,17
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,3
activatebuttons,1
activatebuttons,15
activatebuttons,16

	if,region,8,0
		updateregions,8
	else
	endif

	if,region,7,0
		updateregions,7
	else
	endif

	if,region,7,2
		updateregions,7
	else
	endif

	if,region,7,3
		updateregions,7
	else
	endif

	if,region,7,4
		updateregions,7
	else
	endif

	if,region,7,5
		updateregions,7
	else
	endif

	updateregions,15
	updateregions,16

	color,font,0_0_0

	if,var,var9,,>,%var29%
		storevar,var9=1
		else
	endif

	load,city,%var9%

//===================================
// Header Section
//===================================

	image,125,87,headline_title_vertical.png,t
	changefont,Tahoma,13,b

	text,220,87,Weather - ,r
	text,220,87,[name],l
	changefont,Tahoma,12,

	// Hidden button to take you back
	image,125,99,headline_title_verticalshade.png,t
	button,125,99,204,13,3,4,0

	text,220,99,Current,c

	if,refresh

		color,font,125_125_125
		jumpregion,7,999
		jumpregion,8,999

		else

		color,font,0_0_0

	endif

	//===================================
	// Moon Phase Calculations - Forecast
	//===================================

	calcvar,var59,firstoutlookday

		if,var,var59,,<,38717
			//Year 2005
			addvar,var59,-38352

			else

			if,var,var59,,<,39082
				//Year 2006
				addvar,var59,-38717

				else

				if,var,var59,,<,39447
					//Year 2007
					addvar,var59,-39082

					else

				endif
			endif
		endif

		changefont,Tahoma,12,b
		image,7,222,Moon10_VGA.png,t
		text,15,262,New,l
		image,61,222,Moon12_VGA.png,t
		text,60,262,First Qtr,l
		image,115,222,Moon14_VGA.png,t
		text,125,262,Full,l
		image,169,222,Moon16_VGA.png,t
		text,170,262,Last Qtr,l
		changefont,Tahoma,12

if,var,var59,5,><,33

	text,27,272,Jan-10,c
	text,80,272,Jan-17,c
	text,135,272,Jan-25,c
	text,190,272,Feb-2,c
	else

	if,var,var59,33,><,62

		text,27,272,Feb-8,c
		text,80,272,Feb-16,c
		text,135,272,Feb-24,c
		text,190,272,Mar-3,c
		else

		if,var,var59,62,><,92

			text,27,272,Mar-10,c
			text,80,272,Mar-17,c
			text,135,272,Mar-25,c
			text,190,272,Apr-2,c
			else

			if,var,var59,92,><,121

				text,27,272,Apr-8,c
				text,80,272,Apr-16,c
				text,135,272,Apr-24,c
				text,190,272,May-1,c
				else

				if,var,var59,121,><,150

					text,27,272,May-8,c
					text,80,272,May-16,c
					text,135,272,May-23,c
					text,190,272,May-30,c
					else

					if,var,var59,150,><,179

						text,27,272,Jun-6,c
						text,80,272,Jun-15,c
						text,135,272,Jun-22,c
						text,190,272,Jun-28,c
						else

						if,var,var59,179,><,209

							text,27,272,Jul-6,c
							text,80,272,Jul-15,c
							text,135,272,Jul-22,c
							text,190,272,Jul-28,c
							else

							if,var,var59,209,><,238

								text,27,272,Aug-5,c
								text,80,272,Aug-13,c
								text,135,272,Aug-19,c
								text,190,272,Aug-26,c
								else

								if,var,var59,238,><,268

									text,27,272,Sep-3,c
									text,80,272,Sep-11,c
									text,135,272,Sep-18,c
									text,190,272,Sep-25,c
									else

									if,var,var59,268,><,298

										text,27,272,Oct-3,c
										text,80,272,Oct-10,c
										text,135,272,Oct-17,c
										text,190,272,Oct-25,c
										else

										if,var,var59,298,><,327

											text,27,272,Nov-2,c
											text,80,272,Nov-9,c
											text,135,272,Nov-16,c
											text,190,272,Nov-23,c
											else

											if,var,var59,327,><,357

												text,27,272,Dec-1,c
												text,80,272,Dec-8,c
												text,135,272,Dec-15,c
												text,190,272,Dec-23,c
												else
												endif
											endif
										endif
									endif

								endif
							endif
						endif
					endif
				endif
			endif
		endif
	endif

	else
endif

	//======================
	// Sunrise Calculations
	//======================

	calcvar,var59,firstoutlookday

	if,var,var59,,<,38717
		// Year 2005
		addvar,var59,-38352

		else

		if,var,var59,,<,39082
			//Year 2006
			addvar,var59,-38717

			else

			if,var,var59,,<,39447
				//Year 2007
				addvar,var59,-39082

				else
			endif
		endif
	endif

	// For Fort Worth SPECIFICALLY!
	// For Jan
	if,var,var59,5,><,33

		storevar,var19=3
		else
		// For Feb
		if,var,var59,33,><,62

			storevar,var19=4
			else
			// For Mar
			if,var,var59,62,><,92

				storevar,var19=5
				else
				// For Apr
				if,var,var59,92,><,121

					storevar,var19=6
					else
					// For May
					if,var,var59,121,><,150

						storevar,var19=7
						else
						// For Jun
						if,var,var59,150,><,179

							storevar,var19=8
							else
							// For Jul
							if,var,var59,179,><,209

								storevar,var19=8
								else
								// For Aug
								if,var,var59,209,><,238

									storevar,var19=7
									else
									// For Sep
									if,var,var59,238,><,268

										storevar,var19=6
										else
										// For Oct
										if,var,var59,268,><,298

											storevar,var19=5
											else
											// For Nov
											if,var,var59,298,><,327

												storevar,var19=4
												else
												// For Dec
												if,var,var59,327,><,357

													storevar,var19=3

													else
												endif
											endif
										endif
									endif
								endif
							endif
						endif
					endif
				endif
			endif
		endif
	endif

	image,253,117,SunriseBack.png,

        //  UN-COMMENT THESE TWO LINES FOR USE WITH v.11
	storevar,var30=1
	calcvar,var30,,=,1

	if,var,var30,,>,0

		storevar,var30=1

		calcvar,var30,-,%var30%,%var19%
		calcvar,var30,/,%var30%,%var19%
		calcvar,var30,+,%var30%,1
		image,255,119,sky1.png,t

	        //  UN-COMMENT THIS LINE FOR USE WITH v.12
//		image,275,119,sun%var30%.png,

	        //  UN-COMMENT THIS LINE FOR USE WITH v.11
		image,275,119,sun7.png,t

		else

		image,255,119,star_back1.png,

		if,var,var7,,=,0

		        image,275,145,Moon10_VGA.png,

		        else

		        if,var,var7,,=,1

		 		image,275,145,Moon11_VGA.png,

	       			else

        			if,var,var7,,=,2

					image,275,145,Moon12_VGA.png,

        				else

        				if,var,var7,,=,3

        					image,275,145,Moon13_VGA.png,

        					else

        					if,var,var7,,=,4

        						image,275,145,Moon14_VGA.png,

        						else

        						if,var,var7,,=,5

        							image,275,145,Moon15_VGA.png,

        							else

        							if,var,var7,,=,6

        								image,275,145,Moon16_VGA.png,

        								else

        								if,var,var7,,=,7

        									image,275,145,Moon17_VGA.png,

        									else

									endif
								endif
							endif
						endif
					endif
				endif
			endif
		endif

		else
	endif

	// ---  Sunrise Data ----
	image,255,138,Mountains1.png,
	changefont,Tahoma,18,b
	text,182,122,Sun,l
	text,162,188,Elevation:,l
	changefont,Tahoma,18,
	suntime,%var9%,sunrise,official,162,138,h:mm t,Rise: ,,l
	suntime,%var9%,sunset,official,162,154,h:mm t,Set:  ,,l
	changefont,Tahoma,16,
	suntime,%var9%,elevation,,200,205,%05.2f,,,c
	changefont,Tahoma,12


	// ---  Moon Data ----
	calcvar,var7,moonphase,0

	changefont,Tahoma,18,b
	text,100,122,Moon,c
	changefont,Tahoma,18,
	moontime,%var9%,rise,0,70,138,h:mm t,Rise:,,l
	moontime,%var9%,set,0,70,154,h:mm t,Set: ,,l
	changefont,Tahoma,18,b
	text,100,188,Visible:,c
	changefont,Tahoma,16,
	moontime,%var9%,visible,0,98,205,,,%,c
	changefont,Tahoma,12,

	button,3,119,48,48,3,4,0
	if,var,var7,,=,0

		text,34,185,New,c
		text,34,195,Moon,c
		image,3,119,Moon0_VGA.png,t

		else
	endif

	if,var,var7,,=,1

		text,34,185,Waxing,c
		text,34,195,Crescent,c
		image,3,119,Moon1_VGA.png,

		else
	endif

	if,var,var7,,=,2

		text,34,185,First,c
		text,34,195,Quarter,c
		image,3,119,Moon2_VGA.png,t

		else
	endif

	if,var,var7,,=,3

		text,34,185,Waxing,c
		text,34,195,Gibbous,c
		image,3,119,Moon3_VGA.png,t

		else
	endif

	if,var,var7,,=,4

		text,34,185,Full,c
		text,34,195,Moon,c
		image,3,119,Moon4_VGA.png,t

		else
	endif

	if,var,var7,,=,5

		text,34,185,Waning,c
		text,34,195,Gibbous,c
		image,3,119,Moon5_VGA.png,t

		else
	endif

	if,var,var7,,=,6

		text,34,185,Last,c
		text,34,195,Quarter,c
		image,3,119,Moon6_VGA.png,t

		else
	endif

	if,var,var7,,=,7

		text,34,185,Waning,c
		text,34,195,Crescent,c
		image,3,119,Moon7_VGA.png,t

		else
	endif

	//===================================================================
	// Centered About "Menu"(Located on right side of "current" weather)
	//===================================================================

	imagebutton,325,99,center_about.png,tr,8,4,0,3
	text,330,99,Menu,l

	//===================================================================
	// Actual Updated Time  (Located on left side of "current" weather)
	//===================================================================

	image,45,99,Weather_update_background.png,

	if,var,var20,,<,240

		text,50,99,Updated:,l
		text,100,99,[updatetime],l,HH:mm

		else

		text,50,99,Update Time:,l
		color,font,255_0_0
		text,112,99,[updatetime],l,HH:mm
		color,font,0_0_0

	endif

	if,refresh

		image,45,99,Updating_Weather.png,

		else

	endif

	button,45,99,83,13,8,4,999
	button,45,99,83,13,7,4,999
	button,45,99,83,13,-1,7,,3

	color,font,0_0_0

	//===================================
	// End Time
	//===================================

	image,205,111,Weather_done.png,
	time,220,113,7,4,c

endregion,3,1

//=================================================
//
// 	REGION 7 - PAGE 0
//	Container for Detailed Weather Forecast
//	Subregions: 4
//	Vars used:
//	Dimensions:  217 x 173  or 328 x 104 or 480 x 221
//
//=================================================

region,7,0,120

	cleararea,120,110,217,173

	deactivatebuttons,3
	deactivatebuttons,8

	activatebuttons,7

	load,city,%var9%

	image,120,110,CenterPopup.png

	//===================================
	// Popup Closebox Button
	//===================================

	imagebutton,315,112,Popup_closebox.png,t,7,4,999,3

	//===================================
	// Popup Forecast Header
	//===================================

	changefont,Tahoma,13,b
	text,220,113,Forecast - ,r
	text,220,113,[name],l
	changefont,Tahoma,12,

	forecast,date_dddd MMMM dd. yyyy,%var1%,220,128,,,c

	//===================================
	// Weather Details
	//===================================

	forecasticon,%var1%,130,140,,t
	text,195,145,Forecast:,l
	changefont,tahoma,12,b
	color,font,128_0_0
	forecast,text,%var1%,195,155,,,l
	changefont,tahoma,12,
	color,font,0_0_0

	text,195,170,High Temperature:,l
	text,195,180,Low Temperature:,l
	text,195,190,Chance of Precipitation:,l

	color,font,255_0_0
	forecast,high,%var1%,325,170,, F,r
	color,font,0_0_255
	forecast,low,%var1%,325,180,, F,r
	color,font,0_0_0
	forecast,precipitation,%var1%,325,190,, %,r

	nightforecasticon,%var1%,130,210,,t
	text,195,220,Evening Forecast:,l
	changefont,tahoma,12,b
	color,font,128_0_0
	forecast,nighttext,%var1%,195,230,,,l
	changefont,tahoma,12,
	color,font,0_0_0

endregion,7,0

//=================================================
//
// 	REGION 7 - PAGE 1
//	Container for Moon Phases
//	Subregions:
//	Vars used:
//	Dimensions:  328 x 104
//
//=================================================

region,7,1,-1

cleararea,65,112,328,104

deactivatebuttons,3
deactivatebuttons,8

activatebuttons,7

	image,55,112,MoonPhasePopup.png
	changefont,Tahoma,13,b
	text,225,113,Moon Phase Calendar,c
	changefont,Tahoma,12,

	imagebutton,370,114,Popup_closebox.png,t,7,4,999,3
	button,380,114,15,15,-1,6,var7=1

	load,city,%var0%
	changefont,tahoma,10,b

//=================================================
                time,80,130,-1,5,l,"dd.MM.",,%var7%
                calcvar,var14,moonphase,%var7%
                imagemeter,60,136,%var14%,phase.png,tr,0,7
                moontime,%var0%,visible,%var7%,92,200,,, %,c
//=================================================
addvar,var7,1
                time,145,130,-1,5,l,"dd.MM.",,%var7%
                calcvar,var14,moonphase,%var7%
                imagemeter,125,136,%var14%,phase.png,tr,0,7
                moontime,%var0%,visible,%var7%,157,200,,, %,c
//=================================================
addvar,var7,1
                time,210,130,-1,5,l,"dd.MM.",,%var7%
                calcvar,var14,moonphase,%var7%
                imagemeter,190,136,%var14%,phase.png,tr,0,7
                moontime,%var0%,visible,%var7%,222,200,,, %,c
//=================================================
addvar,var7,1
                time,275,130,-1,5,l,"dd.MM.",,%var7%
                calcvar,var14,moonphase,%var7%
                imagemeter,255,136,%var14%,phase.png,tr,0,7
                moontime,%var0%,visible,%var7%,287,200,,, %,c
//=================================================
addvar,var7,1
                time,340,130,-1,5,l,"dd.MM.",,%var7%
                calcvar,var14,moonphase,%var7%
                imagemeter,320,136,%var14%,phase.png,tr,0,7
                moontime,%var0%,visible,%var7%,352,200,,, %,c
//=================================================

                imagebutton,373,135,Arrow_right.png,t,0,13,var7_1
		button,373,135,15,15,7,4,1

endregion,7,1

//=================================================
//
// 	REGION 7 - PAGE 2
//	Container for Astrological Phases
//	Subregions: 1 of 4
//
//=================================================

region,7,2,-1

deactivatebuttons,3
deactivatebuttons,8

activatebuttons,7

cleararea,118,112,191,84

image,118,112,ZodiacPhasePopup.png
changefont,Tahoma,13,b

text,225,114,Astrological Cal 1/4,c
changefont,Tahoma,12,

imagebutton,318,114,Popup_closebox.png,t,7,4,999,3
changefont,tahoma,11,

	options,imagedir,images\Zodiac\Zodiac0

text,160,138,ab 22.12.,c
image,137,154,Zodiac0_Capricorn.png
text,160,217,Capricorn,c

text,230,138,ab 21.01.,c
image,201,154,Zodiac0_Aquarius.png
text,225,217,Aquarius,c

text,293,138,ab 20.02.,c
image,265,154,Zodiac0_Pisces.png
text,287,217,Pisces,c

changefont,tahoma,12,

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

imagebutton,123,138,Arrow_left.png,t,7,4,5,3
imagebutton,318,138,Arrow_right.png,t,7,4,3,3

endregion,7,2

//=================================================
//
// 	REGION 7 - PAGE 3
//	Container for Astrological Phases
//	Subregions: 2 of 4
//
//=================================================

region,7,3,-1

deactivatebuttons,3
deactivatebuttons,8

activatebuttons,7

cleararea,118,112,191,84

image,118,112,ZodiacPhasePopup.png
changefont,Tahoma,13,b

text,225,114,Astrological Cal 2/4,c
changefont,Tahoma,12,

imagebutton,318,114,Popup_closebox.png,t,7,4,999,3
changefont,tahoma,11,

	options,imagedir,images\Zodiac\Zodiac0

text,160,138,ab 22.12.,c
image,137,154,Zodiac0_Aries.png
text,160,217,Aries,c

text,230,138,ab 21.01.,c
image,201,154,Zodiac0_Taurus.png
text,225,217,Taurus,c

text,293,138,ab 20.02.,c
image,265,154,Zodiac0_Gemini.png
text,287,217,Gemini,c

changefont,tahoma,12,

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

imagebutton,123,138,Arrow_left.png,t,7,4,2,3
imagebutton,318,138,Arrow_right.png,t,7,4,4,3

endregion,7,3

//=================================================
//
// 	REGION 7 - PAGE 4
//	Container for Astrological Phases
//	Subregions: 3 of 4
//
//=================================================

region,7,4,-1

deactivatebuttons,3
deactivatebuttons,8

activatebuttons,7

cleararea,118,112,191,84

image,118,112,ZodiacPhasePopup.png
changefont,Tahoma,13,b

text,225,114,Astrological Cal 3/4,c
changefont,Tahoma,12,

imagebutton,318,114,Popup_closebox.png,t,7,4,999,3
changefont,tahoma,11,

	options,imagedir,images\Zodiac\Zodiac0


text,160,138,ab 22.12.,c
image,137,154,Zodiac0_Cancer.png
text,160,217,Cancer,c

text,230,138,ab 21.01.,c
image,201,154,Zodiac0_Leo.png
text,225,217,Leo,c

text,293,138,ab 20.02.,c
image,265,154,Zodiac0_Virgo.png
text,289,217,Virgo,c

changefont,tahoma,12,

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

imagebutton,123,138,Arrow_left.png,t,7,4,3,3
imagebutton,318,138,Arrow_right.png,t,7,4,5,3

endregion,7,4

//=================================================
//
// 	REGION 7 - PAGE 5
//	Container for Astrological Phases
//	Subregions: 4 of 4
//
//=================================================

region,7,5,-1

deactivatebuttons,3
deactivatebuttons,8
activatebuttons,7

cleararea,118,112,191,84

image,118,112,ZodiacPhasePopup.png
changefont,Tahoma,13,b

text,225,114,Astrological Cal 4/4,c
changefont,Tahoma,12,

imagebutton,318,114,Popup_closebox.png,t,7,4,999,3
changefont,tahoma,11,

	options,imagedir,images\Zodiac\Zodiac0

text,160,138,ab 22.12.,c
image,137,154,Zodiac0_Libra.png
text,160,217,Libra,c

text,230,138,ab 21.01.,c
image,201,154,Zodiac0_Scorpio.png
text,225,217,Scorpio,c

text,293,138,ab 20.02.,c
image,265,154,Zodiac0_Sagittarius.png
text,288,217,Sagittarius,c

changefont,tahoma,12,

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

imagebutton,123,138,Arrow_left.png,t,7,4,4,3
imagebutton,318,138,Arrow_right.png,t,7,4,2,3

endregion,7,5

//=================================================
// 	Begin Radar (Thanks to UK_Skinner and Zapme1)
//
// 	REGION 7 - PAGE 6
//	Container for Radar Images
//	Subregions:
//	Vars used:
//	Dimensions:  446 x 226
//=================================================

region,7,6,-1
defregion,7,6,85,447,226,1
cleararea,0,85,447,226

clearregion,2
clearregion,3
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,12
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,5
deactivatebuttons,4
deactivatebuttons,6
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,17
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,7
activatebuttons,15
activatebuttons,16

updateregions,7
updateregions,15
updateregions,16

//===========================================
// Header Section
//===========================================

	// Hidden button to take you back
	image,5,87,headline_title_vertical.png,t
	button,5,87,204,13,3,4,0

	image,235,87,headline_title_vertical.png,t

	changefont,tahoma,12,b
	text,105,87,Select Radar/Satellite Image,c
	changefont,Tahoma,12

	//======================================
	// For Radar and Satellite Icons
	//======================================

	options,imagedir,Images\Radar_VGA

   //1. National Satellite
	imagebutton,10,108,Nat_Sat_Thumb_VGA.png,t,7,0,\Program Files\TodayPlus\Images\Radar_VGA\natsatellite.imv,7
	button,10,108,59,59,-1,6,var1=1-highlight,7
   //2. National Radar
	imagebutton,80,108,Nat_Rad_Thumb_VGA.png,t,7,0,\Program Files\TodayPlus\Images\Radar_VGA\natradar.imv,7
	button,80,108,59,59,-1,6,var1=2-highlight,7
   //3. Regional Forecast
	imagebutton,150,108,Local_Rad_Thumb_VGA.png,t,7,0,\Program Files\TodayPlus\Images\Radar_VGA\localradar.imv,7
	button,150,108,59,59,-1,6,var1=6-highlight,7
   //4. Regional Satellite
	imagebutton,10,165,Reg_Sat_Thumb_VGA.png,t,7,0,\Program Files\TodayPlus\Images\Radar_VGA\regsatellite.imv,7
	button,10,165,59,59,-1,6,var1=3-highlight,7
   //5. Regional Radar
	imagebutton,80,165,Reg_Rad_Thumb_VGA.png,t,7,0,\Program Files\TodayPlus\Images\Radar_VGA\regradar.imv,7
	button,80,165,59,59,-1,6,var1=4-highlight,7
   //6. Future Use
	imagebutton,150,165,RegionalForecast_VGA.png,t,7,0,\Program Files\TodayPlus\Images\Radar_VGA\regforecast.imv,7
	button,150,165,59,59,-1,6,var1=5-highlight,7
   //7. Future Use
	imagebutton,10,222,WBlank.png,t,7,6,var10=7,7
	button,10,222,59,59,-1,6,var1=7-highlight,7
   //8. Future Use
	imagebutton,80,222,WBlank.png,t,7,6,var10=8,7
	button,80,222,59,59,-1,6,var1=8-highlight,7
   //9. Future Use
	imagebutton,150,222,WBlank.png,t,7,6,var10=9,7
	button,150,222,59,59,-1,6,var1=9-highlight,7

	//======================================
	// For Updating Radar and Satellite Images
	//======================================

	imagebutton,400,108,RadarUpdate.png,t,7,0,\My Documents\Radar\radar.exe,7
	changefont,Tahoma,13,b
	text,393,139,Refresh,l
	changefont,Tahoma,12

	button,5,154,15,15,7,0,\Program Files\TodayPlus\Apps\imvclose02.exe,7

if,var,var1,,=,1

	image,235,102,satkey.jpg,t
	image,235,87,headline_title_vertical.png,t
	changefont,Tahoma,12,b
	text,335,87,National Satellite Image,c
	changefont,Tahoma,12,

	else

	if,var,var1,,=,2

		image,235,102,radarkey.jpg,t
		image,235,87,headline_title_vertical.png,t
		changefont,Tahoma,12,b
		text,335,87,National Radar Image,c
		changefont,Tahoma,12,

		else

		if,var,var1,,=,3

			image,235,102,satkey.jpg,t
			image,235,87,headline_title_vertical.png,t
			changefont,Tahoma,12,b
			text,335,87,Regional Satellite Image,c
			changefont,Tahoma,12,

			else

			if,var,var1,,=,4

				image,235,102,radarkey.jpg,t
				image,235,87,headline_title_vertical.png,t
				changefont,Tahoma,12,b
				text,335,87,Regional Radar Image,c
				changefont,Tahoma,12,

				else

				if,var,var1,,=,5

					image,235,102,radarkey.jpg,t
					image,235,87,headline_title_vertical.png,t
					changefont,Tahoma,12,b
					text,335,87,Regional Weather Forecast,c
					changefont,Tahoma,12,

					else

					if,var,var1,,=,6

						image,235,102,radarkey.jpg,t
						image,235,87,headline_title_vertical.png,t
						changefont,Tahoma,12,b
						text,335,87,Local Radar Image,c
						changefont,Tahoma,12,

						else
					endif
				endif
			endif
		endif
	endif
endif

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

endregion,7,6

//============= END Radar Region =============\\

//=================================================
//
// 	REGION 8 - PAGE 0
//	Container for Menu-About PopUp
//	Subregions: 2 of 4
//	Vars used:
//	Dimensions:
//
//=================================================

region,8,0,-1

clearregion,7

deactivatebuttons,3
deactivatebuttons,7

activatebuttons,8

	image,285,112,center_about_popup.png

	changefont,Tahoma,12,b
	text,291,114,Astrological Cal,l
	imagebutton,287,112,center_about_popup_button.png,tr,7,4,2,3
	button,287,112,100,12,8,4,999

	text,291,131,Moon Phase Cal,l
	imagebutton,287,129,center_about_popup_button.png,tr,7,4,1,3
	button,287,131,100,12,8,4,999

	imagebutton,391,132,scrollup.png,t,8,13,var13_-2
	imagebutton,391,162,scrolldown.png,t,8,13,var13_2

	if,var,var13,,<,1

		storevar,var13=1

		else
	endif

	if,var,var13,,>,%var29%

		storevar,var13=1

		else
	endif

	if,var,var13,,<,1

		storevar,var13=%var29%

		else
	endif

	text,393,114,%var29%,l
	text,393,147,%var13%,l

	load,city,%var13%
	image,291,149,small_arrow_right.png,t
	text,298,146,[name],l
	imagebutton,287,146,center_about_popup_button.png,tr,3,4,0,3
	button,287,147,100,15,-1,6,var9=%var13%
	button,287,147,100,15,8,4,999

	addvar,var13,1

	load,city,%var13%
	image,291,162,small_arrow_right.png,t
	text,298,161,[name],l
	imagebutton,287,161,center_about_popup_button.png,tr,3,4,0,3
	button,287,162,100,15,-1,6,var9=%var13%
	button,287,162,100,15,8,4,999

	addvar,var13,-1

	color,font,255_0_0
	text,320,184,Cancel,l
	imagebutton,287,182,center_about_popup_button_cancel.png,tr,8,4,999,3
	color,font,0_0_0

	changefont,Tahoma,12,

endregion,8,0

//============= END Weather Page =============\\

//=================================================
// 	Begin Calendar (Agenda) Page
//
// 	REGION 9 - PAGE 0
//	Container for Agenda Area
//	Subregions:
//	Vars used:
//	Dimensions:  447 x 226
//=================================================

region,9,0,60
defregion,9,0,85,447,226,10
cleararea,0,85,447,226

clearregion,2
clearregion,3
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,10
clearregion,12
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,5
deactivatebuttons,4
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,17
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,9
activatebuttons,15
activatebuttons,16

updateregions,9
updateregions,15
updateregions,16

	initvar,var16,1

//===========================================
// Header Section
//===========================================

	image,5,87,headline_title_vertical.png,t
	image,235,87,headline_title_vertical.png,t

	//===========================================
	// Calendar - Current Month
	//===========================================

	image,5,105,Calender_header_poom.png

	calendarheader,5,120,13
	calendar,0,0,5,133,13,10,l

	button,5,133,97,60,-1,5,0-highlight,9
	button,5,133,97,60,-1,23,0,9
	button,5,133,97,60,-1,23,1,9
	button,5,133,97,60,-1,23,2,9
	button,5,133,97,60,-1,23,3,9
	button,5,133,97,60,-1,11,0,9

	text,48,105,[caldate],0,c,"MMMM, yy"

	imagebutton,5,197,CalenderMove_left.png,t,-1,9,0,9
	button,5,197,70,12,-1,9,1,9

	//===========================================
	// Calendar - Next Month
	//===========================================

	image,117,105,Calender_header_poom.png

	calendarheader,117,120,13
	calendar,1,1,117,133,13,10,l

	button,117,133,97,60,-1,5,1-highlight,9
	button,117,133,97,60,-1,23,0,9
	button,117,133,97,60,-1,23,1,9
	button,117,133,97,60,-1,23,2,9
	button,117,133,97,60,-1,23,3,9
	button,117,133,97,60,-1,11,1,9

	text,160,105,[caldate],1,c,"MMMM, yy"

	imagebutton,138,197,CalenderMove_right.png,t,-1,8,1,9
	button,138,197,70,12,-1,8,0,9

	//===========================================
	// ReSet Calendar Month
	//===========================================

	imagebutton,75,197,Calender_reset.png,t,-1,10,0,9
	button,75,197,62,12,-1,10,1,9
	button,75,197,62,12,-1,22,0,9
	button,75,197,62,12,-1,23,0,9

	time,105,197,-1,5,c,dd.MM. ,HH:mm,

	//===========================================
	// Agenda Listing - Define Button Filters
	//===========================================

	// "default"
	if,var,var16,,=,1
		image,5,220,butt_default_sel.png

		else

		image,5,220,butt_default.png

	endif

	// "Birthday"
	if,var,var16,,=,2
		image,35,220,butt_birth_sel.png

		else

		image,35,220,butt_birth.png

	endif

	// "Anniversary"
	if,var,var16,,=,3
		image,65,220,butt_aniv_sel.png

		else

		image,65,220,butt_aniv.png

	endif

	// "Business Agenda"
	if,var,var16,,=,5
		image,95,220,butt_buscal_sel.png

		else

		image,95,220,butt_buscal.png

	endif

	// "Business Tasks"
	if,var,var16,,=,6
		image,125,220,butt_bustsk_sel.png

		else

		image,125,220,butt_bustsk.png

	endif

	// "Personal Agenda"
	if,var,var16,,=,7
		image,155,220,butt_percal_sel.png

		else

		image,155,220,butt_percal.png

	endif

	// "Personal Tasks"
	if,var,var16,,=,8
		image,185,220,butt_pertsk_sel.png

		else

		image,185,220,butt_pertsk.png

	endif

	// "Finances"
	if,var,var16,,=,9
		image,5,250,butt_financ_sel.png

		else

		image,5,250,butt_financ.png

	endif

	// "Medical"
	if,var,var16,,=,10
		image,35,250,butt_med_sel.png

		else

		image,35,250,butt_med.png

	endif

// Resets vars for the filters - Thanks to UK_Skinner
button,5,220,25,25,-1,6,var16=1-highlight,9
button,5,220,25,25,-1,6,var11=105-highlight,9
button,5,220,25,25,-1,6,var13=228-highlight,9
button,5,220,25,25,-1,6,var8=183-highlight,9

button,35,220,25,25,-1,6,var16=2-highlight,9
button,35,220,25,25,-1,6,var11=105-highlight,9
button,35,220,25,25,-1,6,var13=228-highlight,9
button,35,220,25,25,-1,6,var8=183-highlight,9

button,65,220,25,25,-1,6,var16=3-highlight,9
button,65,220,25,25,-1,6,var11=105-highlight,9
button,65,220,25,25,-1,6,var13=228-highlight,9
button,65,220,25,25,-1,6,var8=183-highlight,9

button,95,220,25,25,-1,6,var16=5-highlight,9
button,95,220,25,25,-1,6,var11=105-highlight,9
button,95,220,25,25,-1,6,var13=228-highlight,9
button,95,220,25,25,-1,6,var8=183-highlight,9

button,125,220,25,25,-1,6,var16=6-highlight,9
button,125,220,25,25,-1,6,var11=105-highlight,9
button,125,220,25,25,-1,6,var13=228-highlight,9
button,125,220,25,25,-1,6,var8=183-highlight,9

button,155,220,25,25,-1,6,var16=7-highlight,9
button,155,220,25,25,-1,6,var11=105-highlight,9
button,155,220,25,25,-1,6,var13=228-highlight,9
button,155,220,25,25,-1,6,var8=183-highlight,9

button,185,220,25,25,-1,6,var16=8-highlight,9
button,185,220,25,25,-1,6,var11=105-highlight,9
button,185,220,25,25,-1,6,var13=228-highlight,9
button,185,220,25,25,-1,6,var8=183-highlight,9

button,5,250,25,25,-1,6,var16=9-highlight,9
button,5,250,25,25,-1,6,var11=105-highlight,9
button,5,250,25,25,-1,6,var13=228-highlight,9
button,5,250,25,25,-1,6,var8=183-highlight,9

button,35,250,25,25,-1,6,var16=10-highlight,9
button,35,250,25,25,-1,6,var11=105-highlight,9
button,35,250,25,25,-1,6,var13=228-highlight,9
button,35,250,25,25,-1,6,var8=183-highlight,9

button,5,220,25,25,-1,23,0
button,5,220,25,25,-1,23,1
button,35,220,25,25,-1,23,0
button,35,220,25,25,-1,23,1
button,65,220,25,25,-1,23,0
button,65,220,25,25,-1,23,1
button,95,220,25,25,-1,23,0
button,95,220,25,25,-1,23,1
button,125,220,25,25,-1,23,0
button,125,220,25,25,-1,23,1
button,155,220,25,25,-1,23,0
button,155,220,25,25,-1,23,1
button,185,220,25,25,-1,23,0
button,185,220,25,25,-1,23,1
button,5,250,25,25,-1,23,0
button,5,250,25,25,-1,23,1
button,35,250,25,25,-1,23,0
button,35,250,25,25,-1,23,1

//===========================================
// Agenda Filters
//===========================================

color,transparent,255_0_255

options,today-text,'Today', dd, MMMM  yyyy
options,tomorrow-text,'Tomorrow', dd, MMMM  yyyy
options,dateformat,1,15,15,%changefont,tahoma,11,%%line,202,10,-1_6_-1%%bold%%date,l%%regularfont%

options,blanktext,-1,12,12,%tab,22%Nothing Further%regularfont%

imagebutton,422,87,refresh.png,,-1,22,,-1
button,422,87,12,12,-1,23,1
button,422,87,12,12,-1,23,2
button,422,87,12,12,-1,23,0
button,422,87,12,12,-1,23,3

//===========================================
// Filter Buttons Defined
//===========================================

// For the last line in each section
// below listings area defined as: 	"0=Display both Appointments & Tasks".......
//					"1=Display Appointments only".......
//					"2=Display Tasks only"

if,var,var16,,=,1

	cleararea,345,100,210,260
	changefont,tahoma,12,b
	text,335,87,ALL Appointments,c
	options,calendarfilter,1
	options,taskfilter,1
	changefont,tahoma,11,
	options,apptformat,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%image,10,2,small_arrow_right.png,t%%tab,20%%starttime,HH:mmt%%tab,70%%//bold%%subject%%regularfont%
	options,apptallday,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%textcolor,0_0_0%%image,10,2,small_arrow_right.png,t%%tab,20%All Day%tab,70%%//bold%%subject%%regularfont%%textcolor,0_0_0%
	options,taskformat,0,12,13,%iconstart,0%%categoryicons,10,1%%checkbox,20,1,12,12,checkbox.png,checkedbox.png,t%%iconstart,61%%priorityicon,-10,1,lowpriority.png,normal priority.png,high priority.png,t%%tab,37%%countdown%%changefont,tahoma,11,b%%textcolor,0_0_128%%tab,70%%subject%%changefont,tahoma,11,%%resettextcolor%
	outlook,235,%var11%,205,%var8%,0,0,%var13%,,var19,9
	button,5,220,25,25,-1,6,var16=1-highlight,9
	button,247,105,12,183,12,24,nonhighlight,9

	else

	if,var,var16,,=,2

		cleararea,345,100,210,260
		changefont,tahoma,12,b
		text,335,87,Birthdays,c
		options,calendarfilter,3
		changefont,tahoma,11,
		options,apptformat,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%image,10,2,small_arrow_right.png,t%%tab,20%%starttime,HH:mmt%%tab,70%%//bold%%subject%%regularfont%
		options,apptallday,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%textcolor,0_0_0%%image,10,2,small_arrow_right.png,t%%tab,20%All Day%tab,70%%//bold%%subject%%regularfont%%textcolor,0_0_0%
		outlook,235,%var11%,205,%var8%,1,0,%var13%,,var19,9
		button,5,220,25,25,-1,6,var16=2-highlight,9

		else

		if,var,var16,,=,3

			cleararea,345,100,210,260
			changefont,tahoma,12,b
			text,335,87,Anniversaries,c
			options,calendarfilter,4
			changefont,tahoma,11,
			options,apptformat,0,12,13,%iconstart,61%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,Tahoma,11,u%%tab,12%%countdown, days%%changefont,Tahoma,11%%tab,75%%subject%
			options,apptallday,0,12,13,%iconstart,61%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,Tahoma,11,u%%tab,12%%countdown, days%%changefont,Tahoma,11%%tab,75%%subject%
			outlook,235,%var11%,205,%var8%,1,0,%var13%,,var19,9
			button,65,220,25,25,-1,6,var16=3-highlight,9

			else

			if,var,var16,,=,6

				cleararea,345,100,210,260
				changefont,tahoma,12,b
				text,335,87,Business Tasks,c,
				options,taskfilter,2
				changefont,tahoma,11,
				options,taskformat,0,12,13,%checkbox,15,1,12,12,checkbox.png,checkedbox.png,t%%iconstart,44%%priorityicon,-10,1,lowpriority.png,normal priority.png,high priority.png,t%%iconstart,0%%categoryicons,10,1%%tab,28%%countdown%%changefont,tahoma,11,b%%textcolor,0_0_128%%tab,55%%subject%%changefont,tahoma,11,%%resettextcolor%
				options,taskoverdue,0,11,13,%checkbox,15,1,12,12,checkbox.png,checkedbox.png,t%%iconstart,0%%categoryicons,10,1%%textcolor,255_0_0%%changefont,tahoma,11,u%%tab,28%%enddate,MM/dd%%tab,55%%subject%%changefont,tahoma,11,%%resettextcolor%
				options,taskcomplete,0,12,13,%checkbox,30,1,12,13,checkbox.png,checkedbox.png,t%%iconstart,44%%priorityicon,-10,1,lowpriority.png,normal priority.png,high priority.png,t%%textcolor,125_125_125%%changefont,Tahoma,11,s%%enddate,MMM d%%tab,55%%subject%%changefont,Tahoma,11%%resettextcolor%
				outlook,235,%var11%,205,%var8%,2,0,%var13%,,var19,9
				button,125,220,25,25,-1,6,var16=6-highlight,9

				else

				if,var,var16,,=,5

					cleararea,345,100,210,260
					changefont,tahoma,12,b
					text,335,87,Business Agenda,c
					options,calendarfilter,5
					changefont,tahoma,11,
					options,apptformat,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%image,10,2,small_arrow_right.png,t%%tab,20%%starttime,HH:mmt%%tab,70%%//bold%%subject%%regularfont%
					options,apptallday,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%textcolor,0_0_0%%image,10,2,small_arrow_right.png,t%%tab,20%All Day%tab,70%%//bold%%subject%%regularfont%%textcolor,0_0_0%
					outlook,235,%var11%,205,%var8%,1,0,%var13%,,var19,9
					button,95,220,25,25,-1,6,var16=5-highlight,9

					else

					if,var,var16,,=,7

						cleararea,345,100,210,260
						changefont,tahoma,12,b
						text,335,87,Personal Agenda,c
						options,calendarfilter,6
						changefont,tahoma,11,
						options,apptformat,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%image,10,2,small_arrow_right.png,t%%tab,20%%starttime,HH:mmt%%tab,70%%//bold%%subject%%regularfont%
						options,apptallday,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%textcolor,0_0_0%%image,10,2,small_arrow_right.png,t%%tab,20%All Day%tab,70%%//bold%%subject%%regularfont%%textcolor,0_0_0%
						outlook,235,%var11%,205,%var8%,1,0,%var13%,,var19,9
						button,155,220,25,25,-1,6,var16=7-highlight,9

						else

						if,var,var16,,=,8

							cleararea,345,100,210,260
							changefont,tahoma,12,b
							text,335,87,Personal Tasks,c
							options,taskfilter,4
							changefont,tahoma,11,
							options,taskformat,0,12,13,%checkbox,15,1,12,12,checkbox.png,checkedbox.png,t%%iconstart,44%%priorityicon,-10,1,lowpriority.png,normal priority.png,high priority.png,t%%iconstart,0%%categoryicons,10,1%%tab,28%%countdown%%changefont,tahoma,11,b%%textcolor,0_0_128%%tab,55%%subject%%changefont,tahoma,11,%%resettextcolor%
							options,taskoverdue,0,11,13,%checkbox,15,1,12,12,checkbox.png,checkedbox.png,t%%iconstart,0%%categoryicons,10,1%%textcolor,255_0_0%%changefont,tahoma,11,u%%tab,28%%enddate,MM/dd%%tab,55%%subject%%changefont,tahoma,11,%%resettextcolor%
							options,taskcomplete,0,12,13,%checkbox,30,1,12,13,checkbox.png,checkedbox.png,t%%iconstart,44%%priorityicon,-10,1,lowpriority.png,normal priority.png,high priority.png,t%%textcolor,125_125_125%%changefont,Tahoma,11,s%%enddate,MMM d%%tab,55%%subject%%changefont,Tahoma,11%%resettextcolor%
							outlook,235,%var11%,205,%var8%,2,0,%var13%,,var19,9
							button,185,220,25,25,-1,6,var16=8-highlight,9

							else

							if,var,var16,,=,9

								cleararea,345,100,210,260
								changefont,tahoma,12,b
								text,335,87,Finances,c
								options,calendarfilter,7
								changefont,tahoma,11,
								options,apptformat,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%image,10,2,small_arrow_right.png,t%%tab,20%%starttime,HH:mmt%%tab,70%%//bold%%subject%%regularfont%
								options,apptallday,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%textcolor,0_0_0%%image,10,2,small_arrow_right.png,t%%tab,20%All Day%tab,70%%//bold%%subject%%regularfont%%textcolor,0_0_0%
								outlook,235,%var11%,205,%var8%,0,0,%var13%,,var19,9
								button,5,250,25,25,-1,6,var16=9-highlight,9

								else

								if,var,var16,,=,10

									cleararea,345,100,210,260
									changefont,tahoma,12,b
									text,335,87,Medical Appointments,c
									options,calendarfilter,2
									changefont,tahoma,11,
									options,apptformat,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%image,10,2,small_arrow_right.png,t%%tab,20%%starttime,HH:mmt%%tab,70%%//bold%%subject%%regularfont%
									options,apptallday,0,11,11,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%textcolor,0_0_0%%image,10,2,small_arrow_right.png,t%%tab,20%All Day%tab,70%%//bold%%subject%%regularfont%%textcolor,0_0_0%
									outlook,235,%var11%,205,%var8%,1,0,%var13%,,var19,9
									button,35,250,25,25,-1,6,var16=10-highlight,9

									else

								endif
							endif
						endif
					endif
				endif
			endif
		endif
	endif
endif

	//===========================================
	// Smooth Scrolling - Starting from original day
	//===========================================

	if,var,var8,,=,183
		// Second Arrow Down
		imagebutton,101,121,scrollup.png,t,

		else
		// Second Arrow Down
		imagebutton,101,121,scrollup.png,t,-1,13,var11_13,9
		button,101,121,12,12,-1,13,var13_-13,9
		button,101,121,12,12,-1,13,var8_-13,9
		button,101,121,12,12,-1,24,0,9
	endif
	// Third Arrow Down
	imagebutton,101,168,scrolldown.png,t,-1,13,var11_-13,9
	button,101,168,12,12,-1,13,var13_13,9
	button,101,168,12,12,-1,13,var8_13,9
	button,101,168,12,12,-1,24,0,9

	//===========================================
	// 5 Day Incremental Scrolling Up and Down
	//===========================================

	calcvar,var22,firstoutlookday
	calcvar,var22,-,%var22%,5

   	// Very Top Arrow
	imagebutton,101,106,scrollup.png,t,-1,25,var22,9
	button,101,106,12,12,-1,23,0,9
 	// Very Bottom Arrow
	imagebutton,101,183,scrolldown.png,t,-1,25,var19,9
	button,101,183,12,12,-1,23,0,9

	image,103,138,scrollbar_short.png,t

	//===========================================
	// Lists Week Number on Left Title Bar
	//===========================================

	calcvar,var33,firstoutlookday

		if,var,var33,,<,38719
			//38348 is 12-27-2005
			addvar,var33,-38348

			else

			if,var,var33,,<,39083
				//38712 is 1-1-2006
				addvar,var33,-38712

				else
				//39076 is 1-1-2007
				addvar,var33,-39076

				else
				endif
			endif
		endif

		calcvar,var32,/,%var33%,7

		calcvar,var26,/,%var32%,10
		calcvar,var27,*,%var26%,10
		calcvar,var9,-,%var32%,%var27%

		changefont,tahoma,11,b
		color,font,0_0_0

		if,var,var61,,=,1

			if,var,var9,,=,1

				text,56,88,%var32%st Week,r

				else

				if,var,var9,,=,2

					text,56,88,%var32%nd Week,r

					else

					if,var,var9,,=,3

						text,56,88,%var32%rd Week,r

						else

						if,var,var9,3,><,9

							text,56,88,%var32%th Week,r

							else

							if,var,var9,,=,0

								text,56,88,%var32%th Week,r

								else
							endif
						endif
					endif
				endif
			endif

			else

			calcvar,var57,-,52,%var32%
			text,15,88,%var57% Weeks,l

		endif

		color,font,-1_4_-1
		changefont,tahoma,12

	//===========================================
	// Lists Day of the Year on Left Title Bar
	//===========================================

		calcvar,var59,firstoutlookday


			if,var,var59,,<,38717
 				//Year 2005
				addvar,var59,-38352

				else

				if,var,var59,,<,39082
 					//Year 2006
					addvar,var59,-38717

					else

					if,var,var59,,<,39447
 						//Year 2007
						addvar,var59,-39082

						else

					endif
				endif
			endif

		changefont,tahoma,11,b
		color,font,0_0_0

		if,var,var61,,=,1

			button,5,87,204,13,9,6,var61=2-highlight,9
			text,186,88,Day,r
			text,186,88, %var59%,l

			changefont,tahoma,12,b
			text,105,87,Calendar,c
			changefont,tahoma,12,

			else

			button,5,87,204,13,9,6,var61=1-highlight,9
			text,186,88,Day to end,r
			calcvar,var60,-,365,%var59%
			text,186,88, %var60%,l

			changefont,tahoma,12,b
			color,font,128_0_0
			text,105,87,Countdown,c
		//	color,font,0_0_128
			changefont,tahoma,12,
			color,font,0_0_0
		endif

endregion,9,0

//============= END Calendar (Agenda) Page =============\\

//=================================================
// 	Begin Slideshow Region
//
// 	REGION 10 - PAGE 0
//	Container for Slideshow Images
//	Subregions:
//	Vars used:
//	Dimensions:  446 x 226
//=================================================

region,10,0,-1
defregion,10,0,85,447,226,10
cleararea,0,85,447,226

clearregion,2
clearregion,3
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,12
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,0
deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,5
deactivatebuttons,4
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,17
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,10
activatebuttons,15
activatebuttons,16

updateregions,10
updateregions,15
updateregions,16

	//===========================================
	// For Radar Images
	//===========================================

	cleararea,235,85,211,226

	//===========================================
	// Header Section
	//===========================================

	image,5,87,headline_title_vertical.png,t

	changefont,tahoma,12,b
	text,105,87,Photo Albums,c

	changefont,Tahoma,12,b
	color,font,0_0_0
	text,335,87,Image,c
	color,font,-1_4_-1
	changefont,Tahoma,12

	//======================================
	// Controls
	//======================================

////////////////////////
//  PHOTO ALBUM
////////////////////////

options,imagedir,images\photo

// Since these are to my taste and I didn't want to rename Zapme1's pics,
// I just changed the order to suit my preference of showing. :-)
if,var,var62,,=,1
	options,imagedir,images\photo
	image,245,85,pic6.jpg,t
else
	if,var,var62,,=,2
		options,imagedir,images\photo
		image,245,85,pic2.jpg,t
	else
		if,var,var62,,=,3
			options,imagedir,images\photo
			image,245,85,pic3.jpg,t
		else
			if,var,var62,,=,4
				options,imagedir,images\photo
				image,245,85,pic4.jpg,t
			else
				if,var,var62,,=,5
					options,imagedir,images\photo
					image,245,85,pic5.jpg,t
				else
					if,var,var62,,=,6
						options,imagedir,images\photo
						image,245,85,pic1.jpg,t
					else
					endif
				endif
			endif
		endif
	endif
endif

if,var,var62,,=,7
	options,imagedir,images\photo
	image,245,85,pic7.jpg,t
else
	if,var,var62,,=,8
		options,imagedir,images\photo
		image,245,85,pic8.jpg,t
	else
		if,var,var62,,=,9
			options,imagedir,images\photo
			image,245,85,pic9.jpg,t
		else
			if,var,var62,,=,10
				options,imagedir,images\photo
				image,245,85,pic10.jpg,t
			else
				if,var,var62,,=,11
					options,imagedir,images\photo
					image,245,85,pic11.jpg,t
				else
					if,var,var62,,=,12
						options,imagedir,images\photo
						image,245,85,pic12.jpg,t
					else
					endif
				endif
			endif
		endif
	endif
endif

if,var,var62,,=,13
	options,imagedir,images\photo
	image,245,85,pic13.jpg,t
else
	if,var,var62,,=,14
		options,imagedir,images\photo
		image,245,85,pic14.jpg,t
	else
		if,var,var62,,=,15
			options,imagedir,images\photo
			image,245,85,pic15.jpg,t
		else
			if,var,var62,,=,16
				options,imagedir,images\photo
				image,245,85,pic16.jpg,t
			else
				if,var,var62,,=,17
					options,imagedir,images\photo
					image,245,85,pic17.jpg,t
				else
					if,var,var62,,=,18
						options,imagedir,images\photo
						image,245,85,pic18.jpg,t
					else
					endif
				endif
			endif
		endif
	endif
endif


imagebutton,20,117,arrowbutt_frame_left.png,t,10,13,var63_-1,10
imagebutton,20,130,arrowbutt_frame_right.png,t,10,13,var63_1,10

		if,var,var63,,>,3
			storevar,var63=1
		else
		endif

		if,var,var63,,<,1
			storevar,var63=3
		else
		endif

	if,var,var63,,=,1

		changefont,Tahoma,12,b
		text,105,104,'Babes' - 01,c
		changefont,Tahoma,12,

		button,20,117,14,12,7,6,var62=13,10
		button,20,130,14,12,7,6,var62=7,10

		image,35,117,pic6_thumb.jpg,t
		button,35,117,25,25,10,6,var62=1-highlight,10
		image,62,117,pic2_thumb.jpg,t
		button,62,117,25,25,10,6,var62=2-highlight,10
		image,89,117,pic3_thumb.jpg,t
		button,89,117,25,25,10,6,var62=3-highlight,10
		image,116,117,pic4_thumb.jpg,t
		button,116,117,25,25,10,6,var62=4-highlight,10
		image,143,117,pic5_thumb.jpg,t
		button,143,117,25,25,10,6,var62=5-highlight,10
		image,170,117,pic1_thumb.jpg,t
		button,170,117,25,25,10,6,var62=6-highlight,10

	else
		if,var,var63,,=,2

			changefont,Tahoma,12,b
			text,105,104,'Babes' - 02,c
			changefont,Tahoma,12,

			button,22,117,14,12,10,6,var62=1,-1
			button,22,130,14,12,10,6,var62=13,-1

			image,35,117,pic7_thumb.jpg,t
			button,35,117,25,25,10,6,var62=7-highlight,10
			image,62,117,pic8_thumb.jpg,t
			button,62,117,25,25,10,6,var62=8-highlight,10
			image,89,117,pic9_thumb.jpg,t
			button,89,117,25,25,10,6,var62=9-highlight,10
			image,116,117,pic10_thumb.jpg,t
			button,116,117,25,25,10,6,var62=10-highlight,10
			image,143,117,pic11_thumb.jpg,t
			button,143,117,25,25,10,6,var62=11-highlight,10
			image,170,117,pic12_thumb.jpg,t
			button,170,117,25,25,10,6,var62=12-highlight,10


		else
			if,var,var63,,=,3

				changefont,Tahoma,12,b
				text,105,104,'Scenic',c
				changefont,Tahoma,12,

				button,22,117,14,12,-1,6,var62=7,10
				button,22,130,14,12,-1,6,var62=1,10

				image,35,117,pic13_thumb.jpg,t
				button,35,117,25,25,10,6,var62=13-highlight,10
				image,62,117,pic14_thumb.jpg,t
				button,62,117,25,25,10,6,var62=14-highlight,10
				image,89,117,pic15_thumb.jpg,t
				button,89,117,25,25,10,6,var62=15-highlight,10
				image,116,117,pic16_thumb.jpg,t
				button,116,117,25,25,10,6,var62=16-highlight,10
				image,143,117,pic17_thumb.jpg,t
				button,143,117,25,25,10,6,var62=17-highlight,10
				image,170,117,pic18_thumb.jpg,t
				button,170,117,25,25,10,6,var62=18-highlight,10

			else
			endif
		endif
	endif

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

endregion,10,0

//============= END Radar Region =============\\

//=================================================
// 	Begin World Time - Analog Clocks
//
// 	REGION 11 - PAGE 0
//	Container for World Clocks
//	Subregions: 1
//	Vars used:
//	Dimensions:  447 x 75
//=================================================

region,11,0,60
defregion,11,0,85,447,226
cleararea,0,85,447,226

clearregion,2
clearregion,3
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,10
clearregion,12
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,4
deactivatebuttons,5
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,12
deactivatebuttons,15
deactivatebuttons,16
deactivatebuttons,17
deactivatebuttons,18

activatebuttons,11
activatebuttons,15
activatebuttons,16

updateregions,11
updateregions,15
updateregions,16

	image,125,87,headline_title_vertical.png,t
	changefont,Tahoma,13,b
	text,222,87,World Times,c

	changefont,Tahoma,12,
	image,125,99,headline_title_verticalshade.png,t

	image,45,99,Time-LocalBackground.png
	text,47,99,Current:,l
	time,90,99,-1,5,l,dd/MM/yy,,

	image,205,111,Time-Center_ActualTime.png,
	time,220,113,-1,4,c
	imagebutton,205,111,Time-Center_LoadTime.png,tr,-1,0,%apps-2-3-highlight

	imagebutton,325,99,Time-fadetodark_right_loading_button.png,,11,4,1,1
	text,340,99,Digital Clocks,l


	// City 1 ====================================

	image,35,115,Squeek-02.png
	image,15,140,2BClock_VGA.png
	time,88,184,-1,5,cs,"d",
	changefont,tahoma,18
	time,65,200,1,5,c,,tt
	changefont,tahoma,12
	time,65,191,1,analog,hand_hour.png,hand_minute.png
	changefont,Tahoma,12
	image,20,254,Calender_header_poom.png
	text,65,254,[name],cs

	// City 2 ====================================

	image,142,170,2BClock.png
	time,167,212,2,analog,hand_hour2.png,hand_minute2.png
	changefont,Tahoma,14
	time,166,175,2,5,cs,,h:mm
	changefont,Tahoma,12
	text,166,156,[name],c
	changefont,tahoma,8
	time,167,218,2,5,c,,tt
	changefont,tahoma,12

	// City 3 ====================================
	image,202,170,2BClock.png
	time,227,212,3,analog,hand_hour2.png,hand_minute2.png
	changefont,Tahoma,14
	time,226,175,3,5,cs,,h:mm
	changefont,Tahoma,12
	text,226,156,[name],c
	changefont,tahoma,8
	time,227,218,3,5,c,,tt
	changefont,tahoma,12

	// City 4 ====================================
	image,262,170,2BClock.png
	time,287,212,4,analog,hand_hour2.png,hand_minute2.png
	changefont,Tahoma,14
	time,286,175,4,5,cs,,h:mm
	changefont,Tahoma,12
	text,286,156,[name],c
	changefont,tahoma,8
	time,287,218,4,5,c,,tt
	changefont,tahoma,12

	// City 5 ====================================
	image,322,170,2BClock.png
	time,347,212,5,analog,hand_hour2.png,hand_minute2.png
	changefont,Tahoma,14
	time,346,175,5,5,cs,,h:mm
	changefont,Tahoma,12
	text,346,156,[name],c
	changefont,tahoma,8
	time,347,218,5,5,c,,tt
	changefont,tahoma,12

	// City 6 ====================================
	image,382,170,2BClock.png
	time,407,212,6,analog,hand_hour2.png,hand_minute2.png
	changefont,Tahoma,14
	time,406,175,6,5,cs,,h:mm
	changefont,Tahoma,12
	text,406,156,[name],c
	changefont,tahoma,8
	time,407,218,6,5,c,,tt
	changefont,tahoma,12

endregion,11,0

	//=================================================
	// REGION 11 - PAGE 1
	//
	// World Times - Digital Clocks
	//=================================================

region,11,1,60
defregion,11,1,85,447,226
cleararea,0,85,447,226

	image,15,86,WorldClock.png,t
	image,125,87,headline_title_vertical.png,t
	changefont,Tahoma,13,b

	text,222,87,World Times,c

	changefont,Tahoma,12,

	image,125,99,headline_title_verticalshade.png,t

	image,45,99,Time-LocalBackground.png
	text,47,99,Current:,l
	time,90,99,-1,5,l,dd/MM/yy,,

	image,205,111,Time-Center_ActualTime.png,
	time,220,113,-1,4,c
	imagebutton,205,111,Time-Center_LoadTime.png,tr,-1,0,%apps-2-3-highlight

	imagebutton,325,99,Time-fadetodark_right_loading_button.png,,11,4,0,1
	text,340,99,Analog Clocks,l

	// City 1 ====================================
	image,32,140,Digital_Clock.png
	changefont,Tahoma,18
	time,66,149,1,4,c
	changefont,Tahoma,12
	image,20,185,Calender_header_poom.png
	text,20,185,[name],l
	time,111,185,1,5,r,dd/MM/yy,,

	// City 2 ====================================
	image,188,140,Digital_Clock.png
	changefont,Tahoma,18
	time,222,149,2,4,c
	changefont,Tahoma,12
	image,175,185,Calender_header_poom.png
	text,175,185,[name],l
	time,266,185,2,5,r,dd/MM/yy,,

	// City 3 ====================================
	image,342,140,Digital_Clock.png
	changefont,Tahoma,18
	time,376,149,3,4,c
	changefont,Tahoma,12
	image,330,185,Calender_header_poom.png
	text,330,185,[name],l
	time,421,185,3,5,r,dd/MM/yy,,

	// City 4 ====================================
	image,32,220,Digital_Clock.png
	changefont,Tahoma,18
	time,66,229,4,4,c
	changefont,Tahoma,12
	image,20,265,Calender_header_poom.png
	text,20,265,[name],l
	time,111,265,4,5,r,dd/MM/yy,,

	// City 5 ====================================
	image,188,220,Digital_Clock.png
	changefont,Tahoma,18
	time,222,229,5,4,c
	changefont,Tahoma,12
	image,175,265,Calender_header_poom.png
	text,175,265,[name],l
	time,266,265,5,5,r,dd/MM/yy,,

	// City 6 ====================================
	image,342,220,Digital_Clock.png
	changefont,Tahoma,18
	time,376,229,6,4,c
	changefont,Tahoma,12
	image,330,265,Calender_header_poom.png
	text,330,265,[name],l
	time,421,265,6,5,r,dd/MM/yy,,

endregion,11,1

//============= END World Time =============\\

//=================================================
// 	Begin RSS News Section
//
// 	REGION 12 - PAGE 0 (Regions 13,14)
//	Container for RSS Area
//	Subregions: 3
//	Vars used: 5
//	Dimensions:  447 x 226
//=================================================

region,12,0,120
defregion,12,0,85,447,226
cleararea,0,85,447,224

clearregion,2
clearregion,3
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,10
clearregion,11
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,4
deactivatebuttons,5
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,17
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,12
activatebuttons,13

updateregions,12
updateregions,13
updateregions,14
updateregions,15
updateregions,16


	///////////////////////////////////////
	// Region 12,0 RSS - Heading
	///////////////////////////////////////

	// Buttons & Scrollbars =============================

		if,online
			imagebutton,79,268,linkonline.png,t,12,31,
			else
			imagebutton,79,268,linkoffline.png,t,12,30,
		endif

		initvar,var2,1
		imagebutton,100,269,refresh.png,t,-1,7,,12

		imagebutton,3,270,CalenderMove_left.png,t,12,13,var2_-1
		button,3,270,70,12,-1,6,var5=1
		button,3,270,70,12,-1,6,var6=113
		imagebutton,139,270,CalenderMove_right.png,t,12,13,var2_1
		button,139,270,70,12,-1,6,var5=1
		button,139,270,70,12,-1,6,var6=113

		image,198,112,scrollbar.png,t
		image,198,113,scrollbar.png,t

		imagebutton,199,100,scrollup.png,t,12,13,var5_-12
		button,199,100,11,12,-1,13,var6_-74
		imagebutton,199,257,scrolldown.png,t,12,13,var5_12
		button,199,257,11,12,-1,13,var6_74

		if,var,var5,,>,23
			storevar,var5=13
			// Middle Position
			storevar,var6=187
		else
		endif
		if,var,var5,,<,1
			storevar,var5=1
			// Top Position
			storevar,var6=113
		else
		endif

		image,198,%var6%,scroll2.png,t

	// Heading =============================

		if,var,var2,,>,%var28%
			storevar,var2=1
			else
		endif

		if,var,var2,,<,1
			storevar,var2=%var28%
			else
		endif

		load,rss,%var2%
		image,5,87,headline_title_vertical.png,t
		changefont,tahoma,12,b
		color,font,128_0_0
		text,101,87,%var2%,l
		text,107,87, /%var28%,l
		changefont,tahoma,12,
		color,font,0_0_0
		text,9,87,[name],l

	//========================================
	// Update Information
	//========================================

		calcvar,var20,weatherupdatetimediff
		if,var,var20,,<,360

			text,130,87,Updated:,l
			text,178,87,[updatetime],l,HH:mm

			else

			color,font,255_0_0
			text,130,87,Upd. ,l

			if,var,var20,240,><,600

				calcvar,var20,/,%var20%,60
				text,168,87,Hrs ago,l

				else

				if,var,var20,600,><,1440

					calcvar,var20,/,%var20%,60
					text,168,87,Hrs ago,l

					else

					if,var,var20,1440,><,14400

						calcvar,var20,/,%var20%,1440
						text,168,87,Days ago,l

						else

						if,var,var20,,>,14401

							calcvar,var20,/,%var20%,1440
							text,168,87,Days ago,l

							else
						endif
					endif
				endif
			endif

			text,155,87,%var20%,l,
			color,font,0_0_0
		endif

	// Left Side of Page

	// 1st
	RSS,title,13,105,180,12,%var5%,,,
	button,13,105,180,12,14,4,0-highlight,12
	button,13,105,180,12,-1,6,var4=%var5%

	if,online
		image,5,107,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,107,MarkerBlue.png,t
			else
			image,5,107,MarkerRed.png,t
		endif
	endif

	addvar,var5,1

	// 2nd
	RSS,title,13,118,180,12,%var5%,,,
	button,13,118,180,12,14,4,0-highlight,12
	button,13,118,180,12,-1,6,var4=%var5%

	if,online
		image,5,120,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,120,MarkerBlue.png,t
			else
			image,5,120,MarkerRed.png,t
		endif
	endif

	addvar,var5,1

	// 3rd
	RSS,title,13,131,180,12,%var5%,,,
	button,13,131,180,12,14,4,0-highlight,12
	button,13,131,180,12,-1,6,var4=%var5%

	if,online
		image,5,133,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,133,MarkerBlue.png,t
			else
			image,5,133,MarkerRed.png,t
		endif
	endif

	addvar,var5,1

	// 4th
	RSS,title,13,144,180,12,%var5%,,,
	button,13,144,180,12,14,4,0-highlight,12
	button,13,144,180,12,-1,6,var4=%var5%

	if,online
		image,5,146,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,146,MarkerBlue.png,t
			else
			image,5,146,MarkerRed.png,t
		endif
	endif

	addvar,var5,1

	// 5th
	RSS,title,13,157,180,12,%var5%,,,
	button,13,157,180,12,14,4,0-highlight,12
	button,13,157,180,12,-1,6,var4=%var5%

	if,online
		image,5,159,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,159,MarkerBlue.png,t
			else
			image,5,159,MarkerRed.png,t
		endif
	endif

	addvar,var5,1

	// 6th
	RSS,title,13,170,180,12,%var5%,,,
	button,13,170,180,12,14,4,0-highlight,12
	button,13,170,180,12,-1,6,var4=%var5%

	if,online
		image,5,172,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,172,MarkerBlue.png,t
			else
			image,5,172,MarkerRed.png,t
		endif
	endif

	addvar,var5,1

	// 7th
	RSS,title,13,183,180,12,%var5%,,,
	button,13,183,180,12,14,4,0-highlight,12
	button,13,183,180,12,-1,6,var4=%var5%

	if,online
		image,5,185,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,185,MarkerBlue.png,t
			else
			image,5,185,MarkerRed.png,t
		endif
	endif

	addvar,var5,1

	// 8th
	RSS,title,13,196,180,12,%var5%,,,
	button,13,196,180,12,14,4,0-highlight,12
	button,13,196,180,12,-1,6,var4=%var5%

	if,online
		image,5,198,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,198,MarkerBlue.png,t
			else
			image,5,198,MarkerRed.png,t
		endif
	endif

	addvar,var5,1

	// 9th
	RSS,title,13,209,180,12,%var5%,,,
	button,13,209,180,12,14,4,0-highlight,12
	button,13,209,180,12,-1,6,var4=%var5%

	if,online
		image,5,211,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,211,MarkerBlue.png,t
			else
			image,5,211,MarkerRed.png,t
		endif
	endif

	addvar,var5,1

	// 10th
	RSS,title,13,222,180,12,%var5%,,,
	button,13,222,180,12,14,4,0-highlight,12
	button,13,222,180,12,-1,6,var4=%var5%

	if,online
		image,5,224,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,224,MarkerBlue.png,t
			else
			image,5,224,MarkerRed.png,t
		endif
	endif

	addvar,var5,1

	// 11th
	RSS,title,13,235,180,12,%var5%,,,
	button,13,235,180,12,14,4,0-highlight,12
	button,13,235,180,12,-1,6,var4=%var5%

	if,online
		image,5,237,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,237,MarkerBlue.png,t
			else
			image,5,237,MarkerRed.png,t
		endif
	endif

	addvar,var5,1

	// 12th
	RSS,title,13,248,180,12,%var5%,,,
	button,13,248,180,12,14,4,0-highlight,12
	button,13,248,180,12,-1,6,var4=%var5%

	if,online
		image,5,250,MarkerBlue.png,t
		else
		if,pagecached,%var5%
			image,5,250,MarkerBlue.png,t
			else
			image,5,250,MarkerRed.png,t
		endif
	endif

	// Additional Buttons at Bottom of Page

	if,online

		imagebutton,79,268,linkonline.png,t,12,31,
		imagebutton,118,268,News_verbunden.png,t,-1,12,%var4%

		else

		imagebutton,79,268,linkoffline.png,t,12,30,

		if,pagecached,%var4%

			imagebutton,118,268,News_verbunden.png,t,-1,12,%var4%
			else
			imagebutton,118,268,News_getrennt.png,t,-1,12,%var4%
		endif
	endif

	addvar,var5,-11

	if,refresh
		image,78,262,RSS_Button_Background.png,t
		else

	endif

	///////////////////////////////////////
	// Region 13,0 RSS - Text (Output) - Right Side of Screen
	///////////////////////////////////////

	region,13,0,-1

		load,rss,%var2%
		image,235,87,headline_title_vertical.png,t
		changefont,Tahoma,12,b
		RSS,title,236,87,200,12,%var4%,,,c
		changefont,Tahoma,12,
		RSS,description,236,105,205,145,%var4%,,,

	endregion,13,0

	// -- Stocks Button Added

	imagebutton,275,256,Stocks.png,t,12,4,1,12
	button,275,256,32,32,12,4,999

	// -- Traffic Button Added

	imagebutton,325,256,Traffic.png,t,12,4,2,12
	button,325,256,32,32,12,4,999
	button,325,256,32,32,6,0,\Program Files\Todayplus\Images\Traffic\DFWtraffic.imv,12

	// -- Zodiac Button added

	if,var,var23,,=,1

		imagebutton,375,256,Zodiac.png,t,12,4,3,12
		button,375,256,32,32,12,4,999

		else

		if,var,var23,,=,2

			imagebutton,375,256,Zodiac.png,t,12,4,4,12
			button,375,256,32,32,12,4,999

			else
		endif
	endif

endregion,12,0

//=================================================
// 	Begin Stocks Region (Major Thanks to UK_Skinner)
//
// 	Region 12 - Page 1
//	Container for Stocks Data
//	Vars used:
//	Dimensions:  446 x 226
//=================================================

region,12,1,-1
defregion,12,1,85,447,226,1
cleararea,0,85,446,226

clearregion,2
clearregion,3
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,12
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,5
deactivatebuttons,4
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,11
deactivatebuttons,17
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,12
activatebuttons,15
activatebuttons,16

updateregions,12
updateregions,15
updateregions,16

	//===========================================
	// Header Section
	//===========================================

	// Hidden button to take you back.
	image,5,87,headline_title_vertical.png,t
	button,5,87,180,13,12,4,0

	image,235,87,headline_title_vertical.png,t

	load,rss,9

	//============================
	// RSS - Heading
	//============================

	// Buttons & Scrollbars =============================


		changefont,tahoma,26
		text,230,150,Sorry No Stock Data Available,c
		changefont,tahoma,32
		text,230,180,COMING SOON!,c
		changefont,tahoma,12

	// Cleanup

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

endregion,12,1

//=================================================
// 	Begin Traffic Region (Major Thanks to Zapme1)
//
// 	Region 12 - Page 2
//	Container for Traffic Data
//	Subregions:
//	Vars used:
//	Dimensions:  446 x 226
//=================================================

region,12,2,-1
defregion,12,2,85,447,226,1
cleararea,0,85,446,226

clearregion,2
clearregion,3
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,12
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,5
deactivatebuttons,4
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,11
deactivatebuttons,17
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,12
activatebuttons,15
activatebuttons,16

updateregions,12
updateregions,15
updateregions,16

	//===========================================
	// Header Section
	//===========================================

	// Hidden button to take you back and close the map, if running.
	image,5,87,headline_title_vertical.png,t
	button,5,87,180,13,12,4,0
	button,5,87,180,13,12,0,\Program Files\TodayPlus\Apps\imvclose02.exe,12

	// Hidden button to refresh ONLY the Map  WARNING!  Make sure map is not DISPLAYED before hitting this button.
	button,185,87,24,13,12,0,\My Documents\Radar\radar.exe,12

	load,rss,9

	//============================
	// RSS - Heading
	//============================

	// Buttons & Scrollbars =============================

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

	if,online

		imagebutton,79,268,linkonline.png,t,12,31,

		else

		imagebutton,79,268,linkoffline.png,t,12,30,

	endif

	initvar,var2,1
	imagebutton,100,269,refresh.png,t,-1,12,,12

	imagebutton,3,270,CalenderMove_left.png,t,12,13,var2_-1
	button,3,270,70,12,-1,6,var5=1
	button,3,270,70,12,-1,6,var6=113
	imagebutton,139,270,CalenderMove_right.png,t,12,13,var2_1
	button,139,270,70,12,-1,6,var5=1
	button,139,270,70,12,-1,6,var6=113

	image,198,112,scrollbar.png,t
	image,198,113,scrollbar.png,t

	imagebutton,199,100,scrollup.png,t,12,13,var5_-12
	button,199,100,11,12,-1,13,var6_-74
	imagebutton,199,257,scrolldown.png,t,12,13,var5_12
	button,199,257,11,12,-1,13,var6_74

	if,var,var5,,>,23

		storevar,var5=13
		// Middle Position
		storevar,var6=187
		else

	endif

	if,var,var5,,<,1

		storevar,var5=1
		// Top Position
		storevar,var6=113

		else

	endif

	image,198,%var6%,scroll2.png,t

	// Heading =============================

	image,5,87,headline_title_vertical.png,t

	changefont,Tahoma,12,
	text,9,87,[name],l

	//========================================
	// Update Information
	//========================================

	calcvar,var20,weatherupdatetimediff

	if,var,var20,,<,360

		text,130,87,Updated:,l
		text,178,87,[updatetime],l,HH:mm

		else

		color,font,255_0_0
		text,130,87,Upd. ,l

		if,var,var20,240,><,600

			calcvar,var20,/,%var20%,60
			text,168,87,Hrs ago,l

			else

			if,var,var20,600,><,1440

				calcvar,var20,/,%var20%,60
				text,168,87,Hrs ago,l

				else

				if,var,var20,1440,><,14400

					calcvar,var20,/,%var20%,1440
					text,168,87,Days ago,l

					else

					if,var,var20,,>,14401

						calcvar,var20,/,%var20%,1440
						text,168,87,Days ago,l

						else
					endif
				endif
			endif
		endif

		text,155,87,%var20%,l,
		color,font,0_0_0
	endif

	// Left Side of Page

	if,var,var58,,=,1

		// 1st
		RSS,title,13,105,180,12,%var5%,,,
		button,13,105,180,12,12,6,var50=1-highlight,12
		button,13,105,180,12,12,6,var58=2,12
		button,13,105,180,12,-1,6,var4=%var5%
		button,13,105,180,12,12,0,\Program Files\TodayPlus\Apps\imvWinControl02.exe,12

		if,online

			image,5,107,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,107,MarkerBlue.png,t

				else

				image,5,107,MarkerRed.png,t

			endif
		endif

		addvar,var5,1

		// 2nd
		RSS,title,13,118,180,12,%var5%,,,
		button,13,118,180,12,12,6,var50=1-highlight,12
		button,13,118,180,12,12,6,var58=2,12
		button,13,118,180,12,-1,6,var4=%var5%
		button,13,118,180,12,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe,12

		if,online

			image,5,120,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,120,MarkerBlue.png,t

				else

				image,5,120,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 3rd
		RSS,title,13,131,180,12,%var5%,,,
		button,13,131,180,12,12,6,var50=1-highlight,12
		button,13,131,180,12,12,6,var58=2,12
		button,13,131,180,12,-1,6,var4=%var5%
		button,13,131,180,12,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe,12

		if,online

			image,5,133,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,133,MarkerBlue.png,t

				else

				image,5,133,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 4th
		RSS,title,13,144,180,12,%var5%,,,
		button,13,144,180,12,12,6,var50=1-highlight,12
		button,13,144,180,12,12,6,var58=2,12
		button,13,144,180,12,-1,6,var4=%var5%
		button,13,144,180,12,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe,12

		if,online

			image,5,146,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,146,MarkerBlue.png,t

				else

				image,5,146,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 5th
		RSS,title,13,157,180,12,%var5%,,,
		button,13,157,180,12,12,6,var50=1-highlight,12
		button,13,157,180,12,12,6,var58=2,12
		button,13,157,180,12,-1,6,var4=%var5%
		button,13,157,180,12,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe,12

		if,online

			image,5,159,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,159,MarkerBlue.png,t

				else

				image,5,159,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 6th
		RSS,title,13,170,180,12,%var5%,,,
		button,13,170,180,12,12,6,var50=1-highlight,12
		button,13,170,180,12,12,6,var58=2,12
		button,13,170,180,12,-1,6,var4=%var5%
		button,13,170,180,12,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe,12

		if,online

			image,5,172,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,172,MarkerBlue.png,t

				else

				image,5,172,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 7th
		RSS,title,13,183,180,12,%var5%,,,
		button,13,183,180,12,12,6,var50=1-highlight,12
		button,13,183,180,12,12,6,var58=2,12
		button,13,183,180,12,-1,6,var4=%var5%
		button,13,183,180,12,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe,12

		if,online

			image,5,185,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,185,MarkerBlue.png,t

				else

				image,5,185,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 8th
		RSS,title,13,196,180,12,%var5%,,,
		button,13,196,180,12,12,6,var50=1-highlight,12
		button,13,196,180,12,12,6,var58=2,12
		button,13,196,180,12,-1,6,var4=%var5%
		button,13,196,180,12,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe,12

		if,online

			image,5,198,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,198,MarkerBlue.png,t

				else

				image,5,198,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 9th
		RSS,title,13,209,180,12,%var5%,,,
		button,13,209,180,12,12,6,var50=1-highlight,12
		button,13,209,180,12,12,6,var58=2,12
		button,13,209,180,12,-1,6,var4=%var5%
		button,13,209,180,12,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe,12

		if,online

			image,5,211,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,211,MarkerBlue.png,t

				else

				image,5,211,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 10th
		RSS,title,13,222,180,12,%var5%,,,
		button,13,222,180,12,12,6,var50=1-highlight,12
		button,13,222,180,12,12,6,var58=2,12
		button,13,222,180,12,-1,6,var4=%var5%
		button,13,222,180,12,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe,12

		if,online

			image,5,224,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,224,MarkerBlue.png,t

				else

				image,5,224,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 11th
		RSS,title,13,235,180,12,%var5%,,,
		button,13,235,180,12,12,6,var50=1-highlight,12
		button,13,235,180,12,12,6,var58=2,12
		button,13,235,180,12,-1,6,var4=%var5%
		button,13,235,180,12,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe,12

		if,online

			image,5,237,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,237,MarkerBlue.png,t

				else

				image,5,237,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 12th
		RSS,title,13,248,180,12,%var5%,,,
		button,13,248,180,12,12,6,var50=1-highlight,12
		button,13,248,180,12,12,6,var58=2,12
		button,13,248,180,12,-1,6,var4=%var5%
		button,13,248,180,12,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe,12

		if,online

			image,5,250,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,250,MarkerBlue.png,t

				else

				image,5,250,MarkerRed.png,t
			endif
		endif

		addvar,var5,-20

		else

	if,var,var58,,=,2

		// 1st
		RSS,title,13,105,180,12,%var5%,,,
		button,13,105,180,12,12,6,var50=1-highlight,12
		button,13,105,180,12,-1,6,var4=%var5%

		if,online

			image,5,107,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,107,MarkerBlue.png,t

				else

				image,5,107,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 2nd
		RSS,title,13,118,180,12,%var5%,,,
		button,13,118,180,12,12,6,var50=1-highlight,12
		button,13,118,180,12,-1,6,var4=%var5%

		if,online

			image,5,120,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,120,MarkerBlue.png,t

				else

				image,5,120,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 3rd
		RSS,title,13,131,180,12,%var5%,,,
		button,13,131,180,12,12,6,var50=1-highlight,12
		button,13,131,180,12,-1,6,var4=%var5%

		if,online

			image,5,133,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,133,MarkerBlue.png,t

				else

				image,5,133,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 4th
		RSS,title,13,144,180,12,%var5%,,,
		button,13,144,180,12,12,6,var50=1-highlight,12
		button,13,144,180,12,-1,6,var4=%var5%

		if,online

			image,5,146,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,146,MarkerBlue.png,t

				else

				image,5,146,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 5th
		RSS,title,13,157,180,12,%var5%,,,
		button,13,157,180,12,12,6,var50=1-highlight,12
		button,13,157,180,12,-1,6,var4=%var5%

		if,online

			image,5,159,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,159,MarkerBlue.png,t

				else

				image,5,159,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 6th
		RSS,title,13,170,180,12,%var5%,,,
		button,13,170,180,12,12,6,var50=1-highlight,12
		button,13,170,180,12,-1,6,var4=%var5%

		if,online

			image,5,172,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,172,MarkerBlue.png,t

				else

				image,5,172,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 7th
		RSS,title,13,183,180,12,%var5%,,,
		button,13,183,180,12,12,6,var50=1-highlight,12
		button,13,183,180,12,-1,6,var4=%var5%

		if,online

			image,5,185,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,185,MarkerBlue.png,t

				else

				image,5,185,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 8th
		RSS,title,13,196,180,12,%var5%,,,
		button,13,196,180,12,12,6,var50=1-highlight,12
		button,13,196,180,12,-1,6,var4=%var5%

		if,online

			image,5,198,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,198,MarkerBlue.png,t

				else

				image,5,198,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 9th
		RSS,title,13,209,180,12,%var5%,,,
		button,13,209,180,12,12,6,var50=1-highlight,12
		button,13,209,180,12,-1,6,var4=%var5%

		if,online

			image,5,211,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,211,MarkerBlue.png,t

				else

				image,5,211,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 10th
		RSS,title,13,222,180,12,%var5%,,,
		button,13,222,180,12,12,6,var50=1-highlight,12
		button,13,222,180,12,-1,6,var4=%var5%

		if,online

			image,5,224,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,224,MarkerBlue.png,t

				else

				image,5,224,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 11th
		RSS,title,13,235,180,12,%var5%,,,
		button,13,235,180,12,12,6,var50=1-highlight,12
		button,13,235,180,12,-1,6,var4=%var5%

		if,online

			image,5,237,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,237,MarkerBlue.png,t

				else

				image,5,237,MarkerRed.png,t
			endif
		endif

		addvar,var5,1

		// 12th
		RSS,title,13,248,180,12,%var5%,,,
		button,13,248,180,12,12,6,var50=1-highlight,12
		button,13,248,180,12,-1,6,var4=%var5%

		if,online

			image,5,250,MarkerBlue.png,t

			else

			if,pagecached,%var5%

				image,5,250,MarkerBlue.png,t

				else

				image,5,250,MarkerRed.png,t
			endif
		endif

		addvar,var5,-20

		else

	endif
      endif

	// Additional Buttons at Bottom of Page

	if,online

		imagebutton,79,268,linkonline.png,t,12,31,
		imagebutton,118,268,News_verbunden.png,t,-1,12,%var4%

		else

		imagebutton,79,268,linkoffline.png,t,12,30,

		if,pagecached,%var4%

			imagebutton,118,268,News_verbunden.png,t,-1,12,%var4%
			else
			imagebutton,118,268,News_getrennt.png,t,-1,12,%var4%
		endif
	endif

	addvar,var5,-11

	if,refresh

		image,75,262,RSS_Button_Background.png,t

		else
	endif

	//==========================================================
	// RSS - Text/Description (Output) - Right Side of Screen
	//==========================================================

	if,var,var50,,=,1

		load,rss,9
		image,235,87,headline_title_vertical.png,t
		changefont,Tahoma,12,
		RSS,title,236,87,200,12,%var4%,,,c
		changefont,Tahoma,12,
		RSS,description,236,105,205,198,%var4%,     ,,

		// Button to bring the map back to front AFTER selecting new RSS line.
		button,232,98,210,182,12,6,var50=2-highlight,12
		button,232,98,210,182,12,6,var58=1,12
		button,232,98,210,182,12,0,\Program Files\TodayPlus\Apps\imvwincontrol02.exe

		else
	endif

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

endregion,12,2

//=================================================
// 	Begin Zodiac RSS Section  (Major Thanks for UK_Skinner and Zapme1
//                                 For All Their Inputs and Bug Fixes.
// 	REGION 12 - PAGE 3
//	Container for Zodiac RSS and Images
//	Dimensions:  447 x 226
//
//=================================================

region,12,3,-1
defregion,12,3,85,447,226,4

clearregion,2
clearregion,3
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,10
clearregion,12
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,0
deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,4
deactivatebuttons,5
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,13
deactivatebuttons,14
deactivatebuttons,17
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,1
activatebuttons,12
activatebuttons,15
activatebuttons,16

updateregions,15
updateregions,16

//===================================
// Header Section
//===================================

	// Hidden button to take you back
	image,5,87,headline_title_vertical.png,t
	button,5,87,204,13,12,4,0

	image,235,87,headline_title_vertical.png,t

	changefont,tahoma,12,b
	text,105,87,Control Panel,c

	color,font,-1_4_-1
	changefont,Tahoma,12

	//============================================
	// Small Zodiac Images  (Located on left side)
	//============================================

	options,imagedir,images\Zodiac\Zodiac1

	image,248,103,Zodiac_Data_Back.png,t

imagebutton,20,102,zodiac1_thumb_aries.png,t,-1,6,var16=1
imagebutton,20,102,zodiac1_thumb_aries.png,t,-1,6,var5=1
button,20,102,39,51,12,4,3
imagebutton,65,102,zodiac1_thumb_taurus.png,t,-1,6,var16=2
imagebutton,65,102,zodiac1_thumb_taurus.png,t,-1,6,var5=2
button,65,102,39,51,12,4,3
imagebutton,110,102,zodiac1_thumb_gemini.png,t,-1,6,var16=3
imagebutton,110,102,zodiac1_thumb_gemini.png,t,-1,6,var5=3
button,110,102,39,51,12,4,3
imagebutton,156,102,zodiac1_thumb_cancer.png,t,-1,6,var16=4
imagebutton,156,102,zodiac1_thumb_cancer.png,t,-1,6,var5=4
button,151,102,39,51,12,4,3

imagebutton,20,163,zodiac1_thumb_leo.png,t,-1,6,var16=5
imagebutton,20,163,zodiac1_thumb_leo.png,t,-1,6,var5=5
button,20,163,39,51,12,4,3,12
imagebutton,65,163,zodiac1_thumb_virgo.png,t,-1,6,var16=6
imagebutton,65,163,zodiac1_thumb_virgo.png,t,-1,6,var5=6
button,65,163,39,51,12,4,3,12
imagebutton,110,163,zodiac1_thumb_libra.png,t,-1,6,var16=7
imagebutton,110,163,zodiac1_thumb_libra.png,t,-1,6,var5=7
button,110,163,39,51,12,4,3,12
imagebutton,156,163,zodiac1_thumb_scorpio.png,t,-1,6,var16=8
imagebutton,156,163,zodiac1_thumb_scorpio.png,t,-1,6,var5=8
button,156,163,39,51,12,4,3,12

imagebutton,20,225,zodiac1_thumb_sagittarius.png,t,-1,6,var16=9
imagebutton,20,225,zodiac1_thumb_sagittarius.png,t,-1,6,var5=9
button,20,225,39,51,12,4,3,12
imagebutton,65,225,zodiac1_thumb_capricorn.png,t,-1,6,var16=10
imagebutton,65,225,zodiac1_thumb_capricorn.png,t,-1,6,var5=10
button,65,225,39,51,12,4,3,12
imagebutton,110,225,zodiac1_thumb_aquarius.png,t,-1,6,var16=11
imagebutton,110,225,zodiac1_thumb_aquarius.png,t,-1,6,var5=11
button,110,225,39,51,12,4,3,12
imagebutton,156,225,zodiac1_thumb_pisces.png,t,-1,6,var16=12
imagebutton,156,225,zodiac1_thumb_pisces.png,t,-1,6,var5=12
button,156,225,39,51,12,4,3,12

changefont,tahoma,11,
text,40,152,Aries,c
text,84,152,Taurus,c
text,128,152,Gemini,c
text,175,152,Cancer,c
text,40,213,Leo,c
text,84,213,Virgo,c
text,128,213,Libra,c
text,175,213,Scorpio,c
text,38,275,Sagittarius,c
text,84,275,Capricorn,c
text,128,275,Aquarus,c
text,175,275,Pisces,c

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

	///////////////////////////////////////
	// RSS - Text (Output) - Right Side of Screen
	///////////////////////////////////////

	load,rss,8
	image,235,87,headline_title_vertical.png,t

	changefont,Tahoma,12,b
	RSS,title,235,87,204,12,%var5%,,,c
	changefont,Tahoma,12,
	RSS,description,255,230,160,51,%var16%,,,

	//============================================
	// Medium Zodiac Images (Located on right side)
	//============================================

	options,imagedir,images\Zodiac\Zodiac1

if,var,var16,,=,1

	image,250,105,zodiac1_med_aries.png,t
	button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-03Aries.imv-highlight,12
	changefont,ariel,20,bi
	text,380,108,Aries,c
	changefont,tahoma,12,b
	text,380,130,March 21st,c
	text,380,145,-Thru-,c
	text,380,160,April 19th,c
	changefont,tahoma,12
	button,350,185,60,15,0,4,0-highlight,12,0
	button,350,185,60,15,-1,6,var5=1
	button,350,185,60,15,-1,6,var54=1
	button,350,185,60,15,-1,6,var65=1

	button,350,203,60,15,0,4,0-highlight,12,0
	button,350,203,60,15,-1,6,var5=1
	button,350,203,60,15,-1,6,var54=2
	button,350,203,60,15,-1,6,var65=2

	changefont,tahoma,12,b
	text,379,185,The Myth,c
	image,350,199,Zodiac_Dotted_line.png
	text,379,205,The Truth,c
	changefont,tahoma,12,

	else

	if,var,var16,,=,2

		image,250,105,zodiac1_med_taurus.png,t
		button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-04Taurus.imv-highlight,12
		changefont,ariel,20,bi
		text,380,108,Taurus,c
		changefont,tahoma,12,b
		text,380,130,April 20th,c
		text,380,145,-Thru-,c
		text,380,160,May 20th,c
		changefont,tahoma,12
		button,350,185,60,15,0,4,0-highlight,12,0
		button,350,185,60,15,-1,6,var5=2
		button,350,185,60,15,-1,6,var54=3
		button,350,185,60,15,-1,6,var65=3

		button,350,203,60,15,0,4,0-highlight,12,0
		button,350,203,60,15,-1,6,var5=2
		button,350,203,60,15,-1,6,var54=4
		button,350,203,60,15,-1,6,var65=4

		changefont,tahoma,12,b
		text,379,185,The Myth,c
		image,350,199,Zodiac_Dotted_line.png
		text,379,205,The Truth,c
		changefont,tahoma,12,

		else

		if,var,var16,,=,3

			image,250,105,zodiac1_med_gemini.png,t
			button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-05Gemini.imv-highlight,12
			changefont,ariel,20,bi
			text,380,108,Gemini,c
			changefont,tahoma,12,b
			text,380,130,May 21st,c
			text,380,145,-Thru-,c
			text,380,160,June 20th,c
			changefont,tahoma,12
			button,350,185,60,15,0,4,0-highlight,12,0
			button,350,185,60,15,-1,6,var5=3
			button,350,185,60,15,-1,6,var54=5
			button,350,185,60,15,-1,6,var65=5

			button,350,203,60,15,0,4,0-highlight,12,0
			button,350,203,60,15,-1,6,var5=3
			button,350,203,60,15,-1,6,var54=6
			button,350,203,60,15,-1,6,var65=6
			changefont,tahoma,12,b
			text,379,185,The Myth,c
			image,350,199,Zodiac_Dotted_line.png
			text,379,205,The Truth,c
			changefont,tahoma,12,

			else

			if,var,var16,,=,4

				image,250,105,zodiac1_med_cancer.png,t
				button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-06Cancer.imv-highlight,12
				changefont,ariel,20,bi
				text,380,108,Cancer,c
				changefont,tahoma,12,b
				text,380,130,June 21st,c
				text,380,145,-Thru-,c
				text,380,160,July 22nd,c
				changefont,tahoma,12
				button,350,185,60,15,0,4,0-highlight,12,0
				button,350,185,60,15,-1,6,var5=4
				button,350,185,60,15,-1,6,var54=7
				button,350,185,60,15,-1,6,var65=7

				button,350,203,60,15,0,4,0-highlight,12,0
				button,350,203,60,15,-1,6,var5=4
				button,350,203,60,15,-1,6,var54=8
				button,350,203,60,15,-1,6,var65=8

				changefont,tahoma,12,b
				text,379,185,The Myth,c
				image,350,199,Zodiac_Dotted_line.png
				text,379,205,The Truth,c
				changefont,tahoma,12,

				else

				if,var,var16,,=,5

					image,250,105,zodiac1_med_leo.png,t
					button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-07Leo.imv-highlight,12
					changefont,ariel,20,bi
					text,380,108,Leo,c
					changefont,tahoma,12,b
					text,380,130,July 23rd,c
					text,380,145,-Thru-,c
					text,380,160,August 22nd,c
					changefont,tahoma,12
					button,350,185,60,15,0,4,0-highlight,12,0
					button,350,185,60,15,-1,6,var5=5
					button,350,185,60,15,-1,6,var54=9
					button,350,185,60,15,-1,6,var65=9

					button,350,203,60,15,0,4,0-highlight,12,0
					button,350,203,60,15,-1,6,var5=5
					button,350,203,60,15,-1,6,var54=10
					button,350,203,60,15,-1,6,var65=10

					changefont,tahoma,12,b
					text,379,185,The Myth,c
					image,350,199,Zodiac_Dotted_line.png
					text,379,205,The Truth,c
					changefont,tahoma,12,

					else

					if,var,var16,,=,6

						image,250,105,zodiac1_med_virgo.png,t
						button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-08Virgo.imv-highlight,12
						changefont,ariel,20,bi
						text,380,108,Virgo,c
						changefont,tahoma,12,b
						text,380,130,August 23rd,c
						text,380,145,-Thru-,c
						text,380,160,September 22nd,c
						changefont,tahoma,12
						button,350,185,60,15,0,4,0-highlight,12,0
						button,350,185,60,15,-1,6,var5=6
						button,350,185,60,15,-1,6,var54=11
						button,350,185,60,15,-1,6,var65=11

						button,350,203,60,15,0,4,0-highlight,12,0
						button,350,203,60,15,-1,6,var5=6
						button,350,203,60,15,-1,6,var54=12
						button,350,203,60,15,-1,6,var65=12

						changefont,tahoma,12,b
						text,379,185,The Myth,c
						image,350,199,Zodiac_Dotted_line.png
						text,379,205,The Truth,c
						changefont,tahoma,12,

						else

						endif
					endif
				endif
			endif
		endif
	endif

if,var,var16,,=,7

	image,250,105,zodiac1_med_libra.png,t
	button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-09Libra.imv-highlight,12
	changefont,ariel,20,bi
	text,380,108,Libra,c
	changefont,tahoma,12,b
	text,380,130,September 23rd,c
	text,380,145,-Thru-,c
	text,380,160,October 22nd,c
	changefont,tahoma,12
	button,350,185,60,15,0,4,1-highlight,12,0
	button,350,185,60,15,-1,6,var5=7
	button,350,185,60,15,-1,6,var65=1
	button,350,185,60,15,-1,6,var66=1

	button,350,203,60,15,0,4,1-highlight,12,0
	button,350,203,60,15,-1,6,var5=7
	button,350,203,60,15,-1,6,var65=2
	button,350,203,60,15,-1,6,var66=2

	changefont,tahoma,12,b
	text,379,185,The Myth,c
	image,350,199,Zodiac_Dotted_line.png
	text,379,205,The Truth,c
	changefont,tahoma,12,

	else

	if,var,var16,,=,8

		image,250,105,zodiac1_med_scorpio.png,t
		button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-10Scorpio.imv-highlight,12
		changefont,ariel,20,bi
		text,380,108,Scorpio,c
		changefont,tahoma,12,b
		text,380,130,October 23rd,c
		text,380,145,-Thru-,c
		text,380,160,November 21st,c
		changefont,tahoma,12
		button,350,185,60,15,0,4,1-highlight,12,0
		button,350,185,60,15,-1,6,var5=8
		button,350,185,60,15,-1,6,var65=3
		button,350,185,60,15,-1,6,var66=3

		button,350,203,60,15,0,4,1-highlight,12,0
		button,350,203,60,15,-1,6,var5=8
		button,350,203,60,15,-1,6,var65=4
		button,350,203,60,15,-1,6,var66=4

		changefont,tahoma,12,b
		text,379,185,The Myth,c
		image,350,199,Zodiac_Dotted_line.png
		text,379,205,The Truth,c
		changefont,tahoma,12,

		else

		if,var,var16,,=,9

			image,250,105,zodiac1_med_sagittarius.png,t
			button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-11Sagittarius.imv-highlight,12
			changefont,ariel,14,bi
			text,380,108,Sagittarius,c
			changefont,tahoma,12,b
			text,380,130,November 22nd,c
			text,380,145,-Thru-,c
			text,380,160,December 21st,c
			changefont,tahoma,12
			button,350,185,60,15,0,4,1-highlight,12
			button,350,185,60,15,-1,6,var5=9
			button,350,185,60,15,-1,6,var65=5
			button,350,185,60,15,-1,6,var66=5

			button,350,203,60,15,0,4,1-highlight,12
			button,350,203,60,15,-1,6,var5=9
			button,350,203,60,15,-1,6,var65=6
			button,350,203,60,15,-1,6,var66=6

			changefont,tahoma,12,b
			text,379,185,The Myth,c
			image,350,199,Zodiac_Dotted_line.png
			text,379,205,The Truth,c
			changefont,tahoma,12,

			else

			if,var,var16,,=,10

				image,250,105,zodiac1_med_capricorn.png,t
				button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-12Capricorn.imv-highlight,12
				changefont,ariel,18,bi
				text,380,108,Capricorn,c
				changefont,tahoma,12,b
				text,380,130,December 22nd,c
				text,380,145,-Thru-,c
				text,380,160,Janurary 19th,c
				changefont,tahoma,12
				button,350,185,60,15,0,4,1-highlight,12
				button,350,185,60,15,-1,6,var5=10
				button,350,185,60,15,-1,6,var65=7
				button,350,185,60,15,-1,6,var66=7

				button,350,203,60,15,0,4,1-highlight,12
				button,350,203,60,15,-1,6,var5=10
				button,350,203,60,15,-1,6,var65=8
				button,350,203,60,15,-1,6,var66=8

				changefont,tahoma,12,b
				text,379,185,The Myth,c
				image,350,199,Zodiac_Dotted_line.png
				text,379,205,The Truth,c
				changefont,tahoma,12,

				else

				if,var,var16,,=,11

					image,250,105,zodiac1_med_aquarius.png,t
					button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-01Aquarius.imv-highlight,12
					changefont,ariel,18,bi
					text,380,108,Aquarius,c
					changefont,tahoma,12,b
					text,380,130,Janurary 20th,c
					text,380,145,-Thru-,c
					text,380,160,February 18th,c
					changefont,tahoma,12
					button,350,185,60,15,0,4,1-highlight,12
					button,350,185,60,15,-1,6,var5=11
					button,350,185,60,15,-1,6,var65=9
					button,350,185,60,15,-1,6,var66=9

					button,350,203,60,15,0,4,1-highlight,12
					button,350,203,60,15,-1,6,var5=11
					button,350,203,60,15,-1,6,var65=10
					button,350,203,60,15,-1,6,var66=10

					changefont,tahoma,12,b
					text,379,185,The Myth,c
					image,350,199,Zodiac_Dotted_line.png
					text,379,205,The Truth,c
					changefont,tahoma,12,

					else

					if,var,var16,,=,12

						image,250,105,zodiac1_med_pisces.png,t
						button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac1\1-02Pisces.imv-highlight,12
						changefont,ariel,20,bi
						text,380,108,Pisces,c
						changefont,tahoma,12,b
						text,380,130,February 19th,c
						text,380,145,-Thru-,c
						text,380,160,March 20th,c
						changefont,tahoma,12
						button,350,185,60,15,0,4,1-highlight,12
						button,350,185,60,15,-1,6,var5=12
						button,350,185,60,15,-1,6,var65=11
						button,350,185,60,15,-1,6,var66=11

						button,350,203,60,15,0,4,1-highlight,12
						button,350,203,60,15,-1,6,var5=12
						button,350,203,60,15,-1,6,var65=12
						button,350,203,60,15,-1,6,var66=12

						changefont,tahoma,12,b
						text,379,185,The Myth,c
						image,350,199,Zodiac_Dotted_line.png
						text,379,205,The Truth,c
						changefont,tahoma,12,

						else

						endif
					endif
				endif
			endif
		endif
	endif

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

	//=================================================
	//
	// 	REGION 0 - PAGE 0
	//	Container for Detailed Zodiac Information
	//	Vars used:
	//	Dimensions:  480 x 221
	//
	//=================================================

	region,0,0,-1


	activatebuttons,0

	deactivatebuttons,12
	deactivatebuttons,8

	options,imagedir,images\Zodiac\Zodiac1

	//===================================
	// Main Details
	//===================================

	if,var,var54,,=,99

		activatebuttons,12

		else

	endif

load,rss,69

	if,var,var54,,=,1

		image,15,87,Zodiac_TextScreen.png,t

		changefont,ariel,16,bu
		RSS,title,125,100,204,18,%var65%,,,c
		changefont,Tahoma,14,
		RSS,description,35,125,370,251,%var54%,,,
		button,15,87,420,200,12,4,3-highlight,12
		button,15,87,420,200,0,4,999
		changefont,Tahoma,12,

		else

		if,var,var54,,=,2

			image,15,87,Zodiac_TextScreen.png,t

			changefont,ariel,16,bu
			RSS,title,125,100,204,18,%var65%,,,c
			changefont,Tahoma,14,
			RSS,description,35,125,370,251,%var54%,,,
			button,15,87,420,200,12,4,3-highlight,12
			button,15,87,420,200,0,4,999
			changefont,Tahoma,12,

			else

			if,var,var54,,=,3

				image,15,87,Zodiac_TextScreen.png,t

				changefont,ariel,16,bu
				RSS,title,125,100,204,18,%var65%,,,c
				changefont,Tahoma,14,
				RSS,description,35,125,370,251,%var54%,,,
				button,15,87,420,200,12,4,3-highlight,12
				button,15,87,420,200,0,4,999
				changefont,Tahoma,12,

				else

				if,var,var54,,=,4

					image,15,87,Zodiac_TextScreen.png,t

					changefont,ariel,16,bu
					RSS,title,125,100,204,18,%var65%,,,c
					changefont,Tahoma,14,
					RSS,description,35,125,370,251,%var54%,,,
					button,15,87,420,200,12,4,3-highlight,12
					button,15,87,420,200,0,4,999-highlight
					changefont,Tahoma,12,

					else

					if,var,var54,,=,5

						image,15,87,Zodiac_TextScreen.png,t

						changefont,ariel,16,bu
						RSS,title,125,100,204,18,%var65%,,,c
						changefont,Tahoma,14,
						RSS,description,35,125,370,251,%var54%,,,
						button,15,87,420,200,12,4,3-highlight,12
						button,15,87,420,200,0,4,999-highlight
						changefont,Tahoma,12,

						else

						if,var,var54,,=,6

							image,15,87,Zodiac_TextScreen.png,t

							changefont,ariel,16,bu
							RSS,title,125,100,204,18,%var65%,,,c
							changefont,Tahoma,14,
							RSS,description,35,125,370,251,%var54%,,,
							button,15,87,420,200,12,4,3-highlight,12
							button,15,87,420,200,0,4,999-highlight
							changefont,Tahoma,12,

							else
						endif
					endif
				endif
			endif
		endif
	endif

	if,var,var54,,=,7

		image,15,87,Zodiac_TextScreen.png,t

		changefont,ariel,16,bu
		RSS,title,125,100,204,18,%var65%,,,c
		changefont,Tahoma,14,
		RSS,description,35,125,370,251,%var54%,,,
		button,15,87,420,200,12,4,3-highlight,12
		button,15,87,420,200,0,4,999-highlight
		changefont,Tahoma,12,

		else

		if,var,var54,,=,8

			image,15,87,Zodiac_TextScreen.png,t

			changefont,ariel,16,bu
			RSS,title,125,100,204,18,%var65%,,,c
			changefont,Tahoma,14,
			RSS,description,35,125,370,251,%var54%,,,
			button,15,87,420,200,12,4,3-highlight,12
			button,15,87,420,200,0,4,999-highlight
			changefont,Tahoma,12,

			else

			if,var,var54,,=,9

				image,15,87,Zodiac_TextScreen.png,t

				changefont,ariel,16,bu
				RSS,title,125,100,204,18,%var65%,,,c
				changefont,Tahoma,14,
				RSS,description,35,125,370,251,%var54%,,,
				button,15,87,420,200,12,4,3-highlight,12
				button,15,87,420,200,0,4,999-highlight
				changefont,Tahoma,12,

				else

				if,var,var54,,=,10

					image,15,87,Zodiac_TextScreen.png,t

					changefont,ariel,16,bu
					RSS,title,125,100,204,18,%var65%,,,c
					changefont,Tahoma,14,
					RSS,description,35,125,370,251,%var54%,,,
					button,15,87,420,200,12,4,3-highlight,12
					button,15,87,420,200,0,4,999-highlight
					changefont,Tahoma,12,

					else

					if,var,var54,,=,11

						image,15,87,Zodiac_TextScreen.png,t

						changefont,ariel,16,bu
						RSS,title,125,100,204,18,%var65%,,,c
						changefont,Tahoma,14,
						RSS,description,35,125,370,251,%var54%,,,
						button,15,87,420,200,12,4,3-highlight,12
						button,15,87,420,200,0,4,999-highlight
						changefont,Tahoma,12,

						else

						if,var,var54,,=,12

							image,15,87,Zodiac_TextScreen.png,t

							changefont,ariel,16,bu
							RSS,title,125,100,204,18,%var65%,,,c
							changefont,Tahoma,14,
							RSS,description,35,125,370,251,%var54%,,,
							button,15,87,420,200,12,4,3-highlight,12
							button,15,87,420,200,0,4,999-highlight
							changefont,Tahoma,12,

							else
						endif
					endif
				endif
			endif
		endif
	endif

	endregion,0,0

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

	//=================================================
	//
	// 	REGION 0 - PAGE 1
	//	Container for Detailed Zodiac Information
	//	Vars used:
	//	Dimensions:  480 x 221
	//
	//=================================================

	region,0,1,-1


	activatebuttons,0

	deactivatebuttons,12
	deactivatebuttons,8

	options,imagedir,images\Zodiac\Zodiac1

	//===================================
	// Main Details
	//===================================

	if,var,var54,,=,99

		activatebuttons,12

		else

	endif

load,rss,70

	if,var,var66,,=,1

		image,15,87,Zodiac_TextScreen.png,t

		changefont,ariel,16,bu
		RSS,title,125,100,204,18,%var65%,,,c
		changefont,Tahoma,14,
		RSS,description,35,125,370,251,%var66%,,,12
		button,15,87,420,200,12,4,3-highlight,12
		button,15,87,420,200,0,4,999-highlight
		changefont,Tahoma,12,

		else

		if,var,var66,,=,2

			image,15,87,Zodiac_TextScreen.png,t

			changefont,ariel,16,bu
			RSS,title,125,100,204,18,%var65%,,,c
			changefont,Tahoma,14,
			RSS,description,35,125,370,251,%var66%,,,12
			button,15,87,420,200,12,4,3-highlight,12
			button,15,87,420,200,0,4,999-highlight
			changefont,Tahoma,12,

			else

			if,var,var66,,=,3

				image,15,87,Zodiac_TextScreen.png,t

				changefont,ariel,16,bu
				RSS,title,125,100,204,18,%var65%,,,c
				changefont,Tahoma,14,
				RSS,description,35,125,370,251,%var66%,,,
				button,15,87,420,200,12,4,3-highlight,12
				button,15,87,420,200,0,4,999-highlight
				changefont,Tahoma,12,

				else

				if,var,var66,,=,4

					image,15,87,Zodiac_TextScreen.png,t

					changefont,ariel,16,bu
					RSS,title,125,100,204,18,%var65%,,,c
					changefont,Tahoma,14,
					RSS,description,35,125,370,251,%var66%,,,
					button,15,87,420,200,12,4,3-highlight,12
					button,15,87,420,200,0,4,999-highlight
					changefont,Tahoma,12,

					else

					if,var,var66,,=,5

						image,15,87,Zodiac_TextScreen.png,t

						changefont,ariel,16,bu
						RSS,title,125,100,204,18,%var65%,,,c
						changefont,Tahoma,14,
						RSS,description,35,125,370,251,%var66%,,,
						button,15,87,420,200,12,4,3-highlight,12
						button,15,87,420,200,0,4,999-highlight
						changefont,Tahoma,12,

						else

						if,var,var66,,=,6

							image,15,87,Zodiac_TextScreen.png,t

							changefont,ariel,16,bu
							RSS,title,125,100,204,18,%var65%,,,c
							changefont,Tahoma,14,
							RSS,description,35,125,370,251,%var66%,,,
							button,15,87,420,200,12,4,3-highlight,12
							button,15,87,420,200,0,4,999-highlight
							changefont,Tahoma,12,

							else
						endif
					endif
				endif
			endif
		endif
	endif

	if,var,var66,,=,7

		image,15,87,Zodiac_TextScreen.png,t

		changefont,ariel,16,bu
		RSS,title,125,100,204,18,%var65%,,,c
		changefont,Tahoma,14,
		RSS,description,35,125,370,251,%var66%,,,
		button,15,87,420,200,12,4,3-highlight,12
		button,15,87,420,200,0,4,999-highlight
		changefont,Tahoma,12,

		else

		if,var,var66,,=,8

			image,15,87,Zodiac_TextScreen.png,t

			changefont,ariel,16,bu
			RSS,title,125,100,204,18,%var65%,,,c
			changefont,Tahoma,14,
			RSS,description,35,125,370,251,%var66%,,,
			button,15,87,420,200,12,4,3-highlight,12
			button,15,87,420,200,0,4,999-highlight
			changefont,Tahoma,12,

			else

			if,var,var66,,=,9

				image,15,87,Zodiac_TextScreen.png,t

				changefont,ariel,16,bu
				RSS,title,125,100,204,18,%var65%,,,c
				changefont,Tahoma,14,
				RSS,description,35,125,370,251,%var66%,,,
				button,15,87,420,200,12,4,3-highlight,12
				button,15,87,420,200,0,4,999-highlight
				changefont,Tahoma,12,

				else

				if,var,var66,,=,10

					image,15,87,Zodiac_TextScreen.png,t

					changefont,ariel,16,bu
					RSS,title,125,100,204,18,%var65%,,,c
					changefont,Tahoma,14,
					RSS,description,35,125,370,251,%var66%,,,
					button,15,87,420,200,12,4,3-highlight,12
					button,15,87,420,200,0,4,999-highlight
					changefont,Tahoma,12,

					else

					if,var,var66,,=,11

						image,15,87,Zodiac_TextScreen.png,t

						changefont,ariel,16,bu
						RSS,title,125,100,204,18,%var65%,,,c
						changefont,Tahoma,14,
						RSS,description,35,125,370,251,%var66%,,,
						button,15,87,420,200,12,4,3-highlight,12
						button,15,87,420,200,0,4,999-highlight
						changefont,Tahoma,12,

						else

						if,var,var66,,=,12

							image,15,87,Zodiac_TextScreen.png,t

							changefont,ariel,16,bu
							RSS,title,125,100,204,18,%var65%,,,c
							changefont,Tahoma,14,
							RSS,description,35,125,370,251,%var66%,,,
							button,15,87,420,200,12,4,3-highlight,12
							button,15,87,420,200,0,4,999-highlight
							changefont,Tahoma,12,

							else
						endif
					endif
				endif
			endif
		endif
	endif

	endregion,0,1

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

endregion,12,3


//=================================================
// 	Begin Zodiac RSS Section
//
// 	REGION 12 - PAGE 4
//	Container for Zodiac RSS and Images
//	Dimensions:  447 x 226
//
//=================================================

region,12,4,-1
defregion,12,4,85,447,226,4

clearregion,2
clearregion,3
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,10
clearregion,12
clearregion,17
clearregion,18
clearregion,19

deactivatebuttons,0
deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,4
deactivatebuttons,5
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,13
deactivatebuttons,14
deactivatebuttons,17
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,1
activatebuttons,12
activatebuttons,15
activatebuttons,16

updateregions,15
updateregions,16

//===================================
// Header Section
//===================================

	// Hidden button to take you back
	image,5,87,headline_title_vertical.png,t
	button,5,87,204,13,12,4,0

	image,235,87,headline_title_vertical.png,t

	changefont,tahoma,12,b
	text,105,87,Control Panel,c

	color,font,-1_4_-1
	changefont,Tahoma,12

	//============================================
	// Small Zodiac Images  (Located on left side)
	//============================================

	options,imagedir,Images\Zodiac\Zodiac2

	image,248,103,Zodiac_Data_Back.png,t

imagebutton,20,102,zodiac2_thumb_aries.png,t,-1,6,var16=1
imagebutton,20,102,zodiac2_thumb_aries.png,t,-1,6,var5=1
button,20,102,39,51,12,4,4,12
imagebutton,65,102,zodiac2_thumb_taurus.png,t,-1,6,var16=2
imagebutton,65,102,zodiac2_thumb_taurus.png,t,-1,6,var5=2
button,65,102,39,51,12,4,4,12
imagebutton,110,102,zodiac2_thumb_gemini.png,t,-1,6,var16=3
imagebutton,110,102,zodiac2_thumb_gemini.png,t,-1,6,var5=3
button,110,102,39,51,12,4,4,12
imagebutton,156,102,zodiac2_thumb_cancer.png,t,-1,6,var16=4
imagebutton,156,102,zodiac2_thumb_cancer.png,t,-1,6,var5=4
button,151,102,39,51,12,4,4,12

imagebutton,20,163,zodiac2_thumb_leo.png,t,-1,6,var16=5
imagebutton,20,163,zodiac2_thumb_leo.png,t,-1,6,var5=5
button,20,163,39,51,12,4,4,12
imagebutton,65,163,zodiac2_thumb_virgo.png,t,-1,6,var16=6
imagebutton,65,163,zodiac2_thumb_virgo.png,t,-1,6,var5=6
button,65,163,39,51,12,4,4,12
imagebutton,110,163,zodiac2_thumb_libra.png,t,-1,6,var16=7
imagebutton,110,163,zodiac2_thumb_libra.png,t,-1,6,var5=7
button,110,163,39,51,12,4,4,12
imagebutton,156,163,zodiac2_thumb_scorpio.png,t,-1,6,var16=8
imagebutton,156,163,zodiac2_thumb_scorpio.png,t,-1,6,var5=8
button,156,163,39,51,12,4,4,12

imagebutton,20,225,zodiac2_thumb_sagittarius.png,t,-1,6,var16=9
imagebutton,20,225,zodiac2_thumb_sagittarius.png,t,-1,6,var5=9
button,20,225,39,51,12,4,4,12
imagebutton,65,225,zodiac2_thumb_capricorn.png,t,-1,6,var16=10
imagebutton,65,225,zodiac2_thumb_capricorn.png,t,-1,6,var5=10
button,65,225,39,51,12,4,4,12
imagebutton,110,225,zodiac2_thumb_aquarius.png,t,-1,6,var16=11
imagebutton,110,225,zodiac2_thumb_aquarius.png,t,-1,6,var5=11
button,110,225,39,51,12,4,4,12
imagebutton,156,225,zodiac2_thumb_pisces.png,t,-1,6,var16=12
imagebutton,156,225,zodiac2_thumb_pisces.png,t,-1,6,var5=12
button,156,225,39,51,12,4,4,12

changefont,tahoma,11,
text,40,152,Aries,c
text,84,152,Taurus,c
text,128,152,Gemini,c
text,175,152,Cancer,c
text,40,213,Leo,c
text,84,213,Virgo,c
text,128,213,Libra,c
text,175,213,Scorpio,c
text,38,275,Sagittarius,c
text,84,275,Capricorn,c
text,128,275,Aquarus,c
text,175,275,Pisces,c

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

	///////////////////////////////////////
	// RSS - Text (Output) - Right Side of Screen
	///////////////////////////////////////

	load,rss,8
	image,235,87,headline_title_vertical.png,t

	changefont,Tahoma,12,b
	RSS,title,235,87,204,12,%var5%,,,c
	changefont,Tahoma,12,
	RSS,description,255,230,160,51,%var16%,,,

	//============================================
	// Medium Zodiac Images (Located on right side)
	//============================================

	options,imagedir,images\Zodiac\Zodiac2

if,var,var16,,=,1

	image,250,105,zodiac2_med_aries.png,t
	button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-03Aries.imv-highlight,12
	changefont,ariel,20,bi
	text,380,108,Aries,c
	changefont,tahoma,12,b
	text,380,130,March 21st,c
	text,380,145,-Thru-,c
	text,380,160,April 19th,c
	changefont,tahoma,12
	button,350,185,60,15,0,4,2-highlight,12,0
	button,350,185,60,15,-1,6,var5=1
	button,350,185,60,15,-1,6,var54=1
	button,350,185,60,15,-1,6,var65=1

	button,350,203,60,15,0,4,2-highlight,12,0
	button,350,203,60,15,-1,6,var5=1
	button,350,203,60,15,-1,6,var54=2
	button,350,203,60,15,-1,6,var65=2

	changefont,tahoma,12,b
	text,379,185,The Myth,c
	image,350,199,Zodiac_Dotted_line.png
	text,379,205,The Truth,c
	changefont,tahoma,12,

	else

	if,var,var16,,=,2

		image,250,105,zodiac2_med_taurus.png,t
		button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-04Taurus.imv-highlight,12
		changefont,ariel,20,bi
		text,380,108,Taurus,c
		changefont,tahoma,12,b
		text,380,130,April 20th,c
		text,380,145,-Thru-,c
		text,380,160,May 20th,c
		changefont,tahoma,12
		button,350,185,60,15,0,4,2-highlight,12,0
		button,350,185,60,15,-1,6,var5=2
		button,350,185,60,15,-1,6,var54=3
		button,350,185,60,15,-1,6,var65=3

		button,350,203,60,15,0,4,2-highlight,12,0
		button,350,203,60,15,-1,6,var5=2
		button,350,203,60,15,-1,6,var54=4
		button,350,203,60,15,-1,6,var65=4

		changefont,tahoma,12,b
		text,379,185,The Myth,c
		image,350,199,Zodiac_Dotted_line.png
		text,379,205,The Truth,c
		changefont,tahoma,12,

		else

		if,var,var16,,=,3

			image,250,105,zodiac2_med_gemini.png,t
			button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-05Gemini.imv-highlight,12
			changefont,ariel,20,bi
			text,380,108,Gemini,c
			changefont,tahoma,12,b
			text,380,130,May 21st,c
			text,380,145,-Thru-,c
			text,380,160,June 20th,c
			changefont,tahoma,12
			button,350,185,60,15,0,4,2-highlight,12,0
			button,350,185,60,15,-1,6,var5=3
			button,350,185,60,15,-1,6,var54=5
			button,350,185,60,15,-1,6,var65=5

			button,350,203,60,15,0,4,2-highlight,12,0
			button,350,203,60,15,-1,6,var5=3
			button,350,203,60,15,-1,6,var54=6
			button,350,203,60,15,-1,6,var65=6
			changefont,tahoma,12,b
			text,379,185,The Myth,c
			image,350,199,Zodiac_Dotted_line.png
			text,379,205,The Truth,c
			changefont,tahoma,12,

			else

			if,var,var16,,=,4

				image,250,105,zodiac2_med_cancer.png,t
				button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-06Cancer.imv-highlight,12
				changefont,ariel,20,bi
				text,380,108,Cancer,c
				changefont,tahoma,12,b
				text,380,130,June 21st,c
				text,380,145,-Thru-,c
				text,380,160,July 22nd,c
				changefont,tahoma,12
				button,350,185,60,15,0,4,2-highlight,12,0
				button,350,185,60,15,-1,6,var5=4
				button,350,185,60,15,-1,6,var54=7
				button,350,185,60,15,-1,6,var65=7

				button,350,203,60,15,0,4,2-highlight,12,0
				button,350,203,60,15,-1,6,var5=4
				button,350,203,60,15,-1,6,var54=8
				button,350,203,60,15,-1,6,var65=8

				changefont,tahoma,12,b
				text,379,185,The Myth,c
				image,350,199,Zodiac_Dotted_line.png
				text,379,205,The Truth,c
				changefont,tahoma,12,

				else

				if,var,var16,,=,5

					image,250,105,zodiac2_med_leo.png,t
					button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-07Leo.imv-highlight,12
					changefont,ariel,20,bi
					text,380,108,Leo,c
					changefont,tahoma,12,b
					text,380,130,July 23rd,c
					text,380,145,-Thru-,c
					text,380,160,August 22nd,c
					changefont,tahoma,12
					button,350,185,60,15,0,4,2-highlight,12,0
					button,350,185,60,15,-1,6,var5=5
					button,350,185,60,15,-1,6,var54=9
					button,350,185,60,15,-1,6,var65=9

					button,350,203,60,15,0,4,2-highlight,12,0
					button,350,203,60,15,-1,6,var5=5
					button,350,203,60,15,-1,6,var54=10
					button,350,203,60,15,-1,6,var65=10

					changefont,tahoma,12,b
					text,379,185,The Myth,c
					image,350,199,Zodiac_Dotted_line.png
					text,379,205,The Truth,c
					changefont,tahoma,12,

					else

					if,var,var16,,=,6

						image,250,105,zodiac2_med_virgo.png,t
						button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-08Virgo.imv-highlight,12
						changefont,ariel,20,bi
						text,380,108,Virgo,c
						changefont,tahoma,12,b
						text,380,130,August 23rd,c
						text,380,145,-Thru-,c
						text,380,160,September 22nd,c
						changefont,tahoma,12
						button,350,185,60,15,0,4,2-highlight,12,0
						button,350,185,60,15,-1,6,var5=6
						button,350,185,60,15,-1,6,var54=11
						button,350,185,60,15,-1,6,var65=11

						button,350,203,60,15,0,4,2-highlight,12,0
						button,350,203,60,15,-1,6,var5=6
						button,350,203,60,15,-1,6,var54=12
						button,350,203,60,15,-1,6,var65=12

						changefont,tahoma,12,b
						text,379,185,The Myth,c
						image,350,199,Zodiac_Dotted_line.png
						text,379,205,The Truth,c
						changefont,tahoma,12,

						else

						endif
					endif
				endif
			endif
		endif
	endif

if,var,var16,,=,7

	image,250,105,zodiac2_med_libra.png,t
	button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-09Libra.imv-highlight,12
	changefont,ariel,20,bi
	text,380,108,Libra,c
	changefont,tahoma,12,b
	text,380,130,September 23rd,c
	text,380,145,-Thru-,c
	text,380,160,October 22nd,c
	changefont,tahoma,12
	button,350,185,60,15,0,4,3-highlight,12,0
	button,350,185,60,15,-1,6,var5=7
	button,350,185,60,15,-1,6,var65=1
	button,350,185,60,15,-1,6,var66=1

	button,350,203,60,15,0,4,3-highlight,12,0
	button,350,203,60,15,-1,6,var5=7
	button,350,203,60,15,-1,6,var65=2
	button,350,203,60,15,-1,6,var66=2

	changefont,tahoma,12,b
	text,379,185,The Myth,c
	image,350,199,Zodiac_Dotted_line.png
	text,379,205,The Truth,c
	changefont,tahoma,12,

	else

	if,var,var16,,=,8

		image,250,105,zodiac2_med_scorpio.png,t
		button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-10Scorpio.imv-highlight,12
		changefont,ariel,20,bi
		text,380,108,Scorpio,c
		changefont,tahoma,12,b
		text,380,130,October 23rd,c
		text,380,145,-Thru-,c
		text,380,160,November 21st,c
		changefont,tahoma,12
		button,350,185,60,15,0,4,3-highlight,12,0
		button,350,185,60,15,-1,6,var5=8
		button,350,185,60,15,-1,6,var65=3
		button,350,185,60,15,-1,6,var66=3

		button,350,203,60,15,0,4,3-highlight,12,0
		button,350,203,60,15,-1,6,var5=8
		button,350,203,60,15,-1,6,var65=4
		button,350,203,60,15,-1,6,var66=4

		changefont,tahoma,12,b
		text,379,185,The Myth,c
		image,350,199,Zodiac_Dotted_line.png
		text,379,205,The Truth,c
		changefont,tahoma,12,

		else

		if,var,var16,,=,9

			image,250,105,zodiac2_med_sagittarius.png,t
			button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-11Sagittarius.imv-highlight,12
			changefont,ariel,14,bi
			text,380,108,Sagittarius,c
			changefont,tahoma,12,b
			text,380,130,November 22nd,c
			text,380,145,-Thru-,c
			text,380,160,December 21st,c
			changefont,tahoma,12
			button,350,185,60,15,0,4,3-highlight,12,0
			button,350,185,60,15,-1,6,var5=9
			button,350,185,60,15,-1,6,var65=5
			button,350,185,60,15,-1,6,var66=5

			button,350,203,60,15,0,4,3-highlight,12,0
			button,350,203,60,15,-1,6,var5=9
			button,350,203,60,15,-1,6,var65=6
			button,350,203,60,15,-1,6,var66=6

			changefont,tahoma,12,b
			text,379,185,The Myth,c
			image,350,199,Zodiac_Dotted_line.png
			text,379,205,The Truth,c
			changefont,tahoma,12,

			else

			if,var,var16,,=,10

				image,250,105,zodiac2_med_capricorn.png,t
				button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-12Capricorn.imv-highlight,12
				changefont,ariel,18,bi
				text,380,108,Capricorn,c
				changefont,tahoma,12,b
				text,380,130,December 22nd,c
				text,380,145,-Thru-,c
				text,380,160,Janurary 19th,c
				changefont,tahoma,12
				button,350,185,60,15,0,4,3-highlight,12,0
				button,350,185,60,15,-1,6,var5=10
				button,350,185,60,15,-1,6,var65=7
				button,350,185,60,15,-1,6,var66=7

				button,350,203,60,15,0,4,3-highlight,12,0
				button,350,203,60,15,-1,6,var5=10
				button,350,203,60,15,-1,6,var65=8
				button,350,203,60,15,-1,6,var66=8

				changefont,tahoma,12,b
				text,379,185,The Myth,c
				image,350,199,Zodiac_Dotted_line.png
				text,379,205,The Truth,c
				changefont,tahoma,12,

				else

				if,var,var16,,=,11

					image,250,105,zodiac2_med_aquarius.png,t
					button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-01Aquarius.imv-highlight,12
					changefont,ariel,18,bi
					text,380,108,Aquarius,c
					changefont,tahoma,12,b
					text,380,130,Janurary 20th,c
					text,380,145,-Thru-,c
					text,380,160,February 18th,c
					changefont,tahoma,12
					button,350,185,60,15,0,4,3-highlight,12,0
					button,350,185,60,15,-1,6,var5=11
					button,350,185,60,15,-1,6,var65=9
					button,350,185,60,15,-1,6,var66=9

					button,350,203,60,15,0,4,3-highlight,12,0
					button,350,203,60,15,-1,6,var5=11
					button,350,203,60,15,-1,6,var65=10
					button,350,203,60,15,-1,6,var66=10

					changefont,tahoma,12,b
					text,379,185,The Myth,c
					image,350,199,Zodiac_Dotted_line.png
					text,379,205,The Truth,c
					changefont,tahoma,12,

					else

					if,var,var16,,=,12

						image,250,105,zodiac2_med_pisces.png,t
						button,250,105,88,120,12,0,\Program Files\TodayPlus\Images\Zodiac\Zodiac2\2-02Pisces.imv-highlight,12
						changefont,ariel,20,bi
						text,380,108,Pisces,c
						changefont,tahoma,12,b
						text,380,130,February 19th,c
						text,380,145,-Thru-,c
						text,380,160,March 20th,c
						changefont,tahoma,12
						button,350,185,60,15,0,4,3-highlight,12,0
						button,350,185,60,15,-1,6,var5=12
						button,350,185,60,15,-1,6,var65=11
						button,350,185,60,15,-1,6,var66=11

						button,350,203,60,15,0,4,3-highlight,12,0
						button,350,203,60,15,-1,6,var5=12
						button,350,203,60,15,-1,6,var65=12
						button,350,203,60,15,-1,6,var66=12

						changefont,tahoma,12,b
						text,379,185,The Myth,c
						image,350,199,Zodiac_Dotted_line.png
						text,379,205,The Truth,c
						changefont,tahoma,12,

						else

						endif
					endif
				endif
			endif
		endif
	endif

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

	//=================================================
	//
	// 	REGION 0 - PAGE 2
	//	Container for Detailed Zodiac Information
	//	Vars used:
	//	Dimensions:  480 x 221
	//
	//=================================================

	region,0,2,-1


	activatebuttons,0

	deactivatebuttons,12
	deactivatebuttons,8

	options,imagedir,images\Zodiac\Zodiac2

	//===================================
	// Main Details
	//===================================

	if,var,var54,,=,99

		activatebuttons,12

		else

	endif

load,rss,69

	if,var,var54,,=,1

		image,15,87,Zodiac_TextScreen.png,t

		changefont,ariel,16,bu
		RSS,title,125,100,204,18,%var65%,,,c
		changefont,Tahoma,14,
		RSS,description,35,125,370,251,%var54%,,,
		button,15,87,420,200,12,4,4-highlight,12
		button,15,87,420,200,0,4,999
		changefont,Tahoma,12,

		else

		if,var,var54,,=,2

			image,15,87,Zodiac_TextScreen.png,t

			changefont,ariel,16,bu
			RSS,title,125,100,204,18,%var65%,,,c
			changefont,Tahoma,14,
			RSS,description,35,125,370,251,%var54%,,,
			button,15,87,420,200,12,4,4-highlight,12
			button,15,87,420,200,0,4,999
			changefont,Tahoma,12,

			else

			if,var,var54,,=,3

				image,15,87,Zodiac_TextScreen.png,t

				changefont,ariel,16,bu
				RSS,title,125,100,204,18,%var65%,,,c
				changefont,Tahoma,14,
				RSS,description,35,125,370,251,%var54%,,,
				button,15,87,420,200,12,4,4-highlight,12
				button,15,87,420,200,0,4,999
				changefont,Tahoma,12,

				else

				if,var,var54,,=,4

					image,15,87,Zodiac_TextScreen.png,t

					changefont,ariel,16,bu
					RSS,title,125,100,204,18,%var65%,,,c
					changefont,Tahoma,14,
					RSS,description,35,125,370,251,%var54%,,,
					button,15,87,420,200,12,4,4-highlight,12
					button,15,87,420,200,0,4,999-highlight
					changefont,Tahoma,12,

					else

					if,var,var54,,=,5

						image,15,87,Zodiac_TextScreen.png,t

						changefont,ariel,16,bu
						RSS,title,125,100,204,18,%var65%,,,c
						changefont,Tahoma,14,
						RSS,description,35,125,370,251,%var54%,,,
						button,15,87,420,200,12,4,4-highlight,12
						button,15,87,420,200,0,4,999-highlight
						changefont,Tahoma,12,

						else

						if,var,var54,,=,6

							image,15,87,Zodiac_TextScreen.png,t

							changefont,ariel,16,bu
							RSS,title,125,100,204,18,%var65%,,,c
							changefont,Tahoma,14,
							RSS,description,35,125,370,251,%var54%,,,
							button,15,87,420,200,12,4,4-highlight,12
							button,15,87,420,200,0,4,999-highlight
							changefont,Tahoma,12,

							else
						endif
					endif
				endif
			endif
		endif
	endif

	if,var,var54,,=,7

		image,15,87,Zodiac_TextScreen.png,t

		changefont,ariel,16,bu
		RSS,title,125,100,204,18,%var65%,,,c
		changefont,Tahoma,14,
		RSS,description,35,125,370,251,%var54%,,,
		button,15,87,420,200,12,4,4-highlight,12
		button,15,87,420,200,0,4,999-highlight
		changefont,Tahoma,12,

		else

		if,var,var54,,=,8

			image,15,87,Zodiac_TextScreen.png,t

			changefont,ariel,16,bu
			RSS,title,125,100,204,18,%var65%,,,c
			changefont,Tahoma,14,
			RSS,description,35,125,370,251,%var54%,,,
			button,15,87,420,200,12,4,4-highlight,12
			button,15,87,420,200,0,4,999-highlight
			changefont,Tahoma,12,

			else

			if,var,var54,,=,9

				image,15,87,Zodiac_TextScreen.png,t

				changefont,ariel,16,bu
				RSS,title,125,100,204,18,%var65%,,,c
				changefont,Tahoma,14,
				RSS,description,35,125,370,251,%var54%,,,
				button,15,87,420,200,12,4,4-highlight,12
				button,15,87,420,200,0,4,999-highlight
				changefont,Tahoma,12,

				else

				if,var,var54,,=,10

					image,15,87,Zodiac_TextScreen.png,t

					changefont,ariel,16,bu
					RSS,title,125,100,204,18,%var65%,,,c
					changefont,Tahoma,14,
					RSS,description,35,125,370,251,%var54%,,,
					button,15,87,420,200,12,4,4-highlight,12
					button,15,87,420,200,0,4,999-highlight
					changefont,Tahoma,12,

					else

					if,var,var54,,=,11

						image,15,87,Zodiac_TextScreen.png,t

						changefont,ariel,16,bu
						RSS,title,125,100,204,18,%var65%,,,c
						changefont,Tahoma,14,
						RSS,description,35,125,370,251,%var54%,,,
						button,15,87,420,200,12,4,4-highlight,12
						button,15,87,420,200,0,4,999-highlight
						changefont,Tahoma,12,

						else

						if,var,var54,,=,12

							image,15,87,Zodiac_TextScreen.png,t

							changefont,ariel,16,bu
							RSS,title,125,100,204,18,%var65%,,,c
							changefont,Tahoma,14,
							RSS,description,35,125,370,251,%var54%,,,
							button,15,87,420,200,12,4,4-highlight,12
							button,15,87,420,200,0,4,999-highlight
							changefont,Tahoma,12,

							else
						endif
					endif
				endif
			endif
		endif
	endif

	endregion,0,2

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

	//=================================================
	//
	// 	REGION 0 - PAGE 3
	//	Container for Detailed Zodiac Information
	//	Vars used:
	//	Dimensions:  480 x 221
	//
	//=================================================

	region,0,3,-1


	activatebuttons,0

	deactivatebuttons,12
	deactivatebuttons,8

	options,imagedir,images\Zodiac\Zodiac2

	//===================================
	// Main Details
	//===================================

	if,var,var54,,=,99

		activatebuttons,12

		else

	endif

load,rss,70

	if,var,var66,,=,1

		image,15,87,Zodiac_TextScreen.png,t

		changefont,ariel,16,bu
		RSS,title,125,100,204,18,%var65%,,,c
		changefont,Tahoma,14,
		RSS,description,35,125,370,251,%var66%,,,12
		button,15,87,420,200,12,4,4-highlight,12
		button,15,87,420,200,0,4,999-highlight
		changefont,Tahoma,12,

		else

		if,var,var66,,=,2

			image,15,87,Zodiac_TextScreen.png,t

			changefont,ariel,16,bu
			RSS,title,125,100,204,18,%var65%,,,c
			changefont,Tahoma,14,
			RSS,description,35,125,370,251,%var66%,,,12
			button,15,87,420,200,12,4,4-highlight,12
			button,15,87,420,200,0,4,999-highlight
			changefont,Tahoma,12,

			else

			if,var,var66,,=,3

				image,15,87,Zodiac_TextScreen.png,t

				changefont,ariel,16,bu
				RSS,title,125,100,204,18,%var65%,,,c
				changefont,Tahoma,14,
				RSS,description,35,125,370,251,%var66%,,,
				button,15,87,420,200,12,4,4-highlight,12
				button,15,87,420,200,0,4,999-highlight
				changefont,Tahoma,12,

				else

				if,var,var66,,=,4

					image,15,87,Zodiac_TextScreen.png,t

					changefont,ariel,16,bu
					RSS,title,125,100,204,18,%var65%,,,c
					changefont,Tahoma,14,
					RSS,description,35,125,370,251,%var66%,,,
					button,15,87,420,200,12,4,4-highlight,12
					button,15,87,420,200,0,4,999-highlight
					changefont,Tahoma,12,

					else

					if,var,var66,,=,5

						image,15,87,Zodiac_TextScreen.png,t

						changefont,ariel,16,bu
						RSS,title,125,100,204,18,%var65%,,,c
						changefont,Tahoma,14,
						RSS,description,35,125,370,251,%var66%,,,
						button,15,87,420,200,12,4,4-highlight,12
						button,15,87,420,200,0,4,999-highlight
						changefont,Tahoma,12,

						else

						if,var,var66,,=,6

							image,15,87,Zodiac_TextScreen.png,t

							changefont,ariel,16,bu
							RSS,title,125,100,204,18,%var65%,,,c
							changefont,Tahoma,14,
							RSS,description,35,125,370,251,%var66%,,,
							button,15,87,420,200,12,4,4-highlight,12
							button,15,87,420,200,0,4,999-highlight
							changefont,Tahoma,12,

							else
						endif
					endif
				endif
			endif
		endif
	endif

	if,var,var66,,=,7

		image,15,87,Zodiac_TextScreen.png,t

		changefont,ariel,16,bu
		RSS,title,125,100,204,18,%var65%,,,c
		changefont,Tahoma,14,
		RSS,description,35,125,370,251,%var66%,,,
		button,15,87,420,200,12,4,4-highlight,12
		button,15,87,420,200,0,4,999-highlight
		changefont,Tahoma,12,

		else

		if,var,var66,,=,8

			image,15,87,Zodiac_TextScreen.png,t

			changefont,ariel,16,bu
			RSS,title,125,100,204,18,%var65%,,,c
			changefont,Tahoma,14,
			RSS,description,35,125,370,251,%var66%,,,
			button,15,87,420,200,12,4,4-highlight,12
			button,15,87,420,200,0,4,999-highlight
			changefont,Tahoma,12,

			else

			if,var,var66,,=,9

				image,15,87,Zodiac_TextScreen.png,t

				changefont,ariel,16,bu
				RSS,title,125,100,204,18,%var65%,,,c
				changefont,Tahoma,14,
				RSS,description,35,125,370,251,%var66%,,,
				button,15,87,420,200,12,4,4-highlight,12
				button,15,87,420,200,0,4,999-highlight
				changefont,Tahoma,12,

				else

				if,var,var66,,=,10

					image,15,87,Zodiac_TextScreen.png,t

					changefont,ariel,16,bu
					RSS,title,125,100,204,18,%var65%,,,c
					changefont,Tahoma,14,
					RSS,description,35,125,370,251,%var66%,,,
					button,15,87,420,200,12,4,4-highlight,12
					button,15,87,420,200,0,4,999-highlight
					changefont,Tahoma,12,

					else

					if,var,var66,,=,11

						image,15,87,Zodiac_TextScreen.png,t

						changefont,ariel,16,bu
						RSS,title,125,100,204,18,%var65%,,,c
						changefont,Tahoma,14,
						RSS,description,35,125,370,251,%var66%,,,
						button,15,87,420,200,12,4,4-highlight,12
						button,15,87,420,200,0,4,999-highlight
						changefont,Tahoma,12,

						else

						if,var,var66,,=,12

							image,15,87,Zodiac_TextScreen.png,t

							changefont,ariel,16,bu
							RSS,title,125,100,204,18,%var65%,,,c
							changefont,Tahoma,14,
							RSS,description,35,125,370,251,%var66%,,,
							button,15,87,420,200,12,4,4-highlight,12
							button,15,87,420,200,0,4,999-highlight
							changefont,Tahoma,12,

							else
						endif
					endif
				endif
			endif
		endif
	endif

	endregion,0,3

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

endregion,12,4

//============= END RSS Section =============\\

//=================================================
// 	Begin System Area
//
// 	REGION 17 - PAGE 0
//	Container for System Area
//	Subregions: 2
//	Vars used: 5
//	Dimensions:  447 x 75
//=================================================

region,17,0,15
defregion,17,0,85,447,288
cleararea,0,85,447,288

clearregion,2
clearregion,3
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,10
clearregion,12

deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,4
deactivatebuttons,5
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,13
deactivatebuttons,14

activatebuttons,17

updateregions,15
updateregions,16

	image,125,87,headline_title_vertical.png,t

	changefont,Tahoma,12,b
	text,225,87,System Status,c
	changefont,Tahoma,12

	image,125,99,headline_title_verticalshade.png,t

// Battery==============================

	image,40,151,meters_background.png,t
	battery,bar,42,151,52,13,gradient_gradient red-green.png
	image,40,151,meters.png,t

	imagebutton,40,151,Metersbutton.png,tr,-1,0,%apps-2-2-highlight

	changefont,tahoma,11

	if,batterystatusunknown

		image,6,139,battery_unknown.png,t
		text,68,140,Batt: ?,c

		else

		if,charging

			image,6,139,battery_charging.png,t
			text,68,140,Charging.....,c

			else

			if,externalpower,=,true

				image,6,139,battery_charged.png,t
				text,68,140,Net,c

				else

				image,6,139,battery.png,t
				battery,remaining,72,140,Batt: , %,c
			endif
		endif
	endif

	changefont,tahoma,12

	text,97,140,Voltage:,l
	battery,voltage,196,140,, V,r

	text,97,152,Battery Temp:,l
	battery,temperature,196,152,, C,r

	uptime,270,140,softreset,time,s,  HH:mm,Soft Reset Time:   , ,l
	uptime,270,153,softreset,duration,Soft Reset Duration: , Hr/Min,l
	uptime,270,166,battery,duration,Uptime: ,  Hr/Min,l

// Specifics=======================================

	memory,total,297,193,SP: , MB,c,%.1f

	image,270,205,meters_background.png,t
	memory,barused,272,205,52,13,gradient_Specialmain gradient.png
	image,270,205,meters.png,t

	imagebutton,270,205,Metersbutton.png,tr,-1,0,%apps-2-5-highlight

	memory,storageused,270,217,, mb,l,%.1f

	memory,programused,324,217,,,r,%.1f

	calcvar,var17,programmemoryusedpercent

		if,var,var17,1,><,50

			image,230,197,Special_leer.png,t

			else

			if,var,var17,51,><,80

				image,230,197,Special_voll.png,t

				else

				image,230,197,Special_hot.png,t
			endif
		endif

	text,328,198,Storage:,l
	memory,storagefree,412,198,, mb,r
	memory,storagefreepercent,440,198,/,%,r,%.0f

	text,328,211,Program:,l
	memory,programfree,412,211,, mb,r
	memory,programfreepercent,440,211,/,%,r,%.0f

// File Storage=====================================

	image,230,251,memory_big.png,t

	image,270,255,meters_background.png,t
	storage,3,bar,272,255,52,13,gradient_storage gradient.png
	image,270,255,meters.png,t

	imagebutton,270,255,Metersbutton.png,tr,-1,0,%apps-2-4-highlight

	text,297,243,File-Store,c
	storage,3,total,297,268,, mb,c

	text,328,248,Used: ,l
	storage,3,used,410,248,, mb,r
	storage,3,usedpercent,438,248,/,%,r,%.0f

	text,328,261,Free: ,l
	storage,3,free,410,261,, mb,r
	storage,3,freepercent,438,261,/,%,r,%.0f

// SD Card==========================================

	image,14,201,secure_digital_SanDisk512.png,t

	image,40,205,meters_background.png,t
	storage,1,bar,42,205,52,13,gradient_storage gradient.png
	image,40,205,meters.png,t

	imagebutton,40,205,Metersbutton.png,tr,-1,0,%apps-2-4-highlight

	text,68,193,SD Card,c
	storage,1,total,68,217,, mb,c

	text,97,198,Used: ,l
	storage,1,used,180,198,, mb,r
	storage,1,usedpercent,208,198,/,%,r,%.0f

	text,97,211,Free: ,l
	storage,1,free,180,211,, mb,r
	storage,1,freepercent,208,211,/,%,r,%.0f

// CF Card==========================================

	image,10,251,compact_flash_SD512.png,t

	image,40,255,meters_background.png,t
	storage,2,bar,42,255,52,13,gradient_storage gradient.png
	image,40,255,meters.png,t

	imagebutton,40,255,Metersbutton.png,tr,-1,0,%apps-2-4-highlight

	text,68,243,CF Card,c
	storage,2,total,68,268,, mb,c

	text,97,248,Used: ,l
	storage,2,used,180,248,, mb,r
	storage,2,usedpercent,208,248,/,%,r,%.0f

	text,97,261,Free: ,l
	storage,2,free,180,261,, mb,r
	storage,2,freepercent,208,261,/,%,r,%.0f

// Setup Quicklaunch Icon Size and Change Theme ====================

	if,var,var3,,=,1

		imagebutton,5,87,Body-01.png,t,-1,6,var3=2,17

	else

		imagebutton,5,87,Body-01.png,t,-1,6,var3=1,17

	endif

	text,5,122,QL Icons,l

	//text,50,87,%var3%,c  	// Tells which set of icons are being called. (I like that for troubleshooting;
			     	// Thanks goes to UK_Skinner)


	imagebutton,47,99,buttonchanging.png,t,17,4,1,17
	text,54,99,Preferences,l

	image,205,111,Weather_done.png,
	time,220,113,7,4,c
	imagebutton,325,99,Center_About.png,,18,4,0,17
	text,330,99,About,l

endregion,17,0

//=================================================
// 	Begin Preferences Region
//
// 	Region 17 - Page 1
//	Container for Preferences
//	Vars used:
//	Dimensions:  446 x 226
//=================================================

region,17,1,-1
defregion,17,1,85,447,226,1
cleararea,0,85,446,226

clearregion,2
clearregion,3
clearregion,4
clearregion,5
clearregion,6
clearregion,7
clearregion,8
clearregion,9
clearregion,12
clearregion,18
clearregion,19

deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,5
deactivatebuttons,4
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,18
deactivatebuttons,19

activatebuttons,17
activatebuttons,15
activatebuttons,16

updateregions,17
updateregions,15
updateregions,16

	//===========================================
	// Header Section
	//===========================================

	// Hidden button to take you back.
	image,5,87,headline_title_vertical.png,t
	button,5,87,180,13,17,4,0

	image,235,87,headline_title_vertical.png,t

	image,235,150,headline_title_vertical.png,t

	changefont,tahoma,12,b
	text,105,87,Weather Icons,c
	text,335,87,Other Theme Preferences,c
	text,335,150,Zodiac Icons,c
	changefont,Tahoma,12

	//===================================
	// Variable for Icons Sets
	//===================================

	if,var,var10,,=,1

		options,weathericondir,Weather Icons\Deviant_VGA,png

		else

		if,var,var10,,=,2

			options,weathericondir,Weather Icons\Shiny_VGA,png

			else

			if,var,var10,,=,3

				options,weathericondir,Weather Icons\64x64,png

				else

				if,var,var10,,=,4

					options,weathericondir,Weather Icons\Umicon_VGA,png

					else

					if,var,var10,,=,5

						options,weathericondir,Weather Icons\Stardock_VGA,png

						else

						if,var,var10,,=,6

							options,weathericondir,Weather Icons\Crystal_VGA,png

							else

							if,var,var10,,=,7

								options,weathericondir,Weather Icons\WeatherPod_VGA,png

								else

								if,var,var10,,=,8

									options,weathericondir,Weather Icons\2B-VGA_Favs,png

								endif
							endif
						endif
					endif
				endif
			endif
		endif
	endif

	//======================================
	// For Weather Icon Sets
	//======================================

   //1. Deviant_VGA Folder
	imagebutton,10,108,WDeviant-01.png,t,-1,6,var10=1,3
	button,10,108,59,59,3,4,0,3
   //2. Shiny_VGA Folder
	imagebutton,80,108,WShiny-01.png,t,-1,6,var10=2,3
	button,80,108,59,59,3,4,0,3
   //3. 64x64 Folder
	imagebutton,150,108,W64-01.png,t,-1,6,var10=3,3
	button,150,108,59,59,3,4,0,3
   //4. Umicon_VGA Folder
	imagebutton,10,165,WUmicon-01.png,t,-1,6,var10=4,3
	button,10,165,59,59,3,4,0,3
   //5. Stardock_VGA Folder
	imagebutton,80,165,WStardock-01.png,t,-1,6,var10=5,3
	button,80,165,59,59,3,4,0,3
   //6. Crystal_VGA Folder
	imagebutton,150,165,WCrystal-01.png,t,-1,6,var10=6,3
	button,150,165,59,59,3,4,0,3
   //7. WeatherPod_VGA Folder
	imagebutton,10,222,WWeatherPod-01.png,t,-1,6,var10=7,3
	button,10,222,59,59,3,4,0,3
   //8. Geezer's Favorite Images
	imagebutton,80,222,W2B-VGA.png,t,-1,6,var10=8,3
	button,80,222,59,59,3,4,0,3
   //9. Future Use
	imagebutton,150,222,WBlank.png,t,-1,6,var10=8,3
	button,150,222,59,59,3,4,0,3

	//======================================
	// For Zodiac Image Preferences
	//======================================

   //1. Zodiac 1 Folder
	imagebutton,232,165,Zodiac-01.png,t,-1,6,var23=1,12
	button,232,165,59,59,12,4,3,12
   //2. Zodiac 2 Folder
	imagebutton,302,165,Zodiac-02.png,t,-1,6,var23=2,12
	button,302,165,59,59,12,4,4,12
   //3. Zodiac 3 Folder
	imagebutton,372,165,WBlank.png,t,-1,6,var23=1,12
	button,372,165,59,59,12,4,5,12
   //4. Zodiac 4 Folder
	imagebutton,232,222,WBlank.png,t-1,6,var23=2,12
	button,232,222,59,59,12,4,6,12


	// Cleanup

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1
		imagebutton,235,110,ChangeTheme.png,t,-1,6,var24=2,-1
		text,241,110,Change    Theme,l
		else

		options,imagedir,Images\Icons-2B
		imagebutton,235,110,ChangeTheme.png,t,-1,6,var24=1,-1
		text,245,110,Change    Theme,l
	endif

endregion,17,1

//============= END System Status Area =============\\

//=================================================
// 	Begin System About Region
//
// 	REGION 18 - PAGE 0
//	Container for System About Area
//	Subregions:
//	Vars used:
//	Dimensions:  447 x 75
//=================================================

region,18,0,-1

deactivatebuttons,17

activatebuttons,18

	image,303,112,System_about_popup.png

	changefont,Tahoma,12,b
	text,309,114,Owner Info,l

	imagebutton,305,112,center_about_popup_button.png,tr,19,4,0,18
	button,305,112,100,15,19,4,999

	text,309,129,Skin Version,l
	imagebutton,305,129,center_about_popup_button.png,tr,19,4,1,18
	button,305,129,100,15,19,4,999

	color,font,255_0_0
	text,335,172,Cancel,l
	imagebutton,305,172,center_about_popup_button_cancel.png,tr,18,4,999,17

	color,font,0_0_0
	changefont,Tahoma,12,

endregion,18,0

//============= END System About Area =============\\

//=================================================
// 	Begin User Information Region
//
// 	REGION 19 - PAGE 0
//	Container for User Information Area
//	Subregions:
//	Vars used:
//	Dimensions:  447 x 75
//=================================================

region,19,0,-1

deactivatebuttons,17
deactivatebuttons,18

activatebuttons,19

clearregion,18

	image,120,112,centerpopup.png

	//===================================
	// Closebox Button
	//===================================

	imagebutton,314,114,popup_closebox.png,t,19,4,999,17

	//===================================
	// User Data
	//===================================

	changefont,Tahoma,12,b

	text,230,114,Owner,c
	text,230,129,Information,c

	changefont,Tahoma,12,

	//===================================
	// User Details
	//===================================

	image,135,151,%owner image%,

	text,230,166,Name:,l
	changefont,Tahoma,12,b
	text,230,178,%owner name%,l
	changefont,Tahoma,12,

	text,135,236,Address:,l
	text,135,248,City - State:,l
	text,135,260,Phone:,l

	text,200,236,%owner address%,l
	text,200,248,%owner address2%,l
	text,200,260,%owner phone%,l

endregion,19,0

//=================================================
// 	Begin Skin Info Region
//
// 	REGION 19 - PAGE 1
//	Container for Skin Information Area
//	Subregions:
//	Vars used:
//	Dimensions:  447 x 75
//=================================================

region,19,1,-1

	deactivatebuttons,17
	deactivatebuttons,18

	activatebuttons,19

	clearregion,18

	image,130,128,AboutPopup.png

	imagebutton,302,130,popup_closebox.png,t,19,4,999,17

	image,140,159,2Bskin.png
	image,272,159,2Bskin.png

	changefont,Tahoma,12,b
	text,220,130,2 B - V G A,c
	changefont,Tahoma,12,

	text,220,146,Skin Version,c

	text,220,156,1.50,c
	text,220,166,Date: Feb.7.2005,c
	changefont,Tahoma,11,
	text,220,181,Administrator:,c
	changefont,Tahoma,12,b
	text,220,192,G E E Z E R,c
	changefont,Tahoma,12,

endregion,19,1

//============= END System Info Region =============\\

//=================================================
// 	Begin QuickLaunch Area
//
// 	REGION 15 - PAGE 0
//	Container for QuickLaunch Area
//	Subregions: 2
//	Vars used: 5
//	Dimensions:  449 x 75
//=================================================

//     In the config app, (unless you are using 10 or more shortcuts in a group), create 1
//     extra "blank" shortcut in each shortcup group.  Make SURE it's the LAST shortcut.
//     By blank, I mean no defined path or name.  This is to ensure your last shortcut does
//     not APPEAR to keep repeating itself.  I'm sure this is a bug but can't be fixed..

// This top section defines/laysout the menu buttons.

region,15,0,30
	defregion,15,0,0,449,80
	offset,offset_-1,offset_-1
	color,font,-1_4_-1
	offsetadd,0,1
	initvar,var12,1

	activatebuttons,1
	activatebuttons,15
	activatebuttons,16

	updateregions,1
	updateregions,15
	updateregions,16

	if,var,var12,,=,1
		cleararea,250,0,449,80
		changefont,Tahoma,12,b
		imagebutton,0,1,launcher_1_select.png,t,1,6,var12=1,-1
		button,0,1,15,85,9,4,999
		imagebutton,90,1,launcher_2.png,t,-1,6,var12=2,1,-1
		imagebutton,180,1,launcher_3.png,t,-1,6,var12=3,1,-1
		imagebutton,270,1,launcher_4.png,t,-1,6,var12=4,1,-1
		imagebutton,360,1,launcher_5.png,t,-1,6,var12=5,1,-1
		color,font,7_75_150
		color,shadow,255_255_255
		text,30,5,Main,ls
		color,font,255_255_255
		color,shadow,40_40_40
		text,115,3,Settings,ls
		text,205,3,Games,ls
		text,295,3,Utilities,ls
		text,385,3,eBooks,ls
		color,font,-1_4_-1
		color,shadow,255_255_255
		changefont,Tahoma,11
	else
		if,var,var12,,=,2
			cleararea,250,0,449,80
			color,font,255_255_255
			color,shadow,40_40_40
			changefont,Tahoma,12,b
			imagebutton,0,1,launcher_1.png,t,1,6,var12=1,-1
			imagebutton,90,1,launcher_2_select.png,t,-1,6,var12=2,1,9,-1
			button,90,1,15,85,9,4,999
			imagebutton,180,1,launcher_3.png,t,-1,6,var12=3,1,-1
			imagebutton,270,1,launcher_4.png,t,-1,6,var12=4,1,-1
			imagebutton,360,1,launcher_5.png,t,-1,6,var12=5,1,1-1
			color,font,7_75_150
			color,shadow,255_255_255
			text,115,5,Settings,ls
			color,font,255_255_255
			color,shadow,40_40_40
			text,30,3,Main,ls
			text,205,3,Games,ls
			text,295,3,Utilities,ls
			text,385,3,eBooks,ls
			color,font,-1_4_-1
			color,shadow,255_255_255
			changefont,Tahoma,11
		else
			if,var,var12,,=,3
				cleararea,0,0,449,80
				color,font,255_255_255
				color,shadow,40_40_40
				changefont,Tahoma,12,b
				imagebutton,0,1,launcher_1.png,t,-1,6,var12=1,1,-1
				imagebutton,90,1,launcher_2.png,t,-1,6,var12=2,1,-1
				imagebutton,180,1,launcher_3_select.png,t,-1,6,var12=3,1,-1
				imagebutton,270,1,launcher_4.png,t,-1,6,var12=4,1,-1
				imagebutton,360,1,launcher_5.png,t,-1,6,var12=5,1,-1
				color,font,7_75_150
				color,shadow,255_255_255
				text,205,5,Games,ls
				color,font,255_255_255
				color,shadow,40_40_40
				text,30,3,Main,ls
				text,115,3,Settings,ls
				text,295,3,Utilities,ls
				text,385,3,eBooks,ls
				color,font,-1_4_-1
				color,shadow,255_255_255
				changefont,Tahoma,11
			else
				if,var,var12,,=,4
					cleararea,0,0,449,80
					color,font,255_255_255
					color,shadow,40_40_40
					changefont,Tahoma,12,b
					imagebutton,0,1,launcher_1.png,t,-1,6,var12=1,1,-1
					imagebutton,90,1,launcher_2.png,t,-1,6,var12=2,1,-1
					imagebutton,180,1,launcher_3.png,t,-1,6,var12=3,1,-1
					imagebutton,270,1,launcher_4_select.png,t,-1,6,var12=4,1,-1
					imagebutton,360,1,launcher_5.png,t,-1,6,var12=5,1,-1
					color,font,7_75_150
					color,shadow,255_255_255
					text,295,5,Utilities,ls
					color,font,255_255_255
					color,shadow,40_40_40
					text,30,3,Main,ls
					text,115,3,Settings,ls
					text,205,3,Games,ls
					text,385,3,eBooks,ls
					color,font,-1_4_-1
					color,shadow,255_255_255
					changefont,Tahoma,11
				else
					if,var,var12,,=,5
						cleararea,0,0,449,80
						color,font,255_255_255
						color,shadow,40_40_40
						changefont,Tahoma,12,b
						imagebutton,0,1,launcher_1.png,t,-1,6,var12=1,1,-1
						imagebutton,90,1,launcher_2.png,t,-1,6,var12=2,1,-1
						imagebutton,180,1,launcher_3.png,t,-1,6,var12=3,1,-1
						imagebutton,270,1,launcher_4.png,t,-1,6,var12=4,1,-1
						imagebutton,360,1,launcher_5_select.png,t,-1,6,var12=5,1,-1
						color,font,7_75_150
						color,shadow,255_255_255
						text,385,5,eBooks,ls
						color,font,255_255_255
						color,shadow,40_40_40
						text,30,3,Main,ls
						text,115,3,Settings,ls
						text,205,3,Games,ls
						text,295,3,Utilities,ls
						color,font,-1_4_-1
						color,shadow,255_255_255
						changefont,Tahoma,11
					else
					endif
				endif
			endif
		endif
	endif

        endregion,15,0

	//=================================================
	// REGION 16 - PAGE 1
	//	Loads Shortcuts
	//	Vars used: 12
	//=================================================

	// The next two sections defines/laysout the icons.

	region,16,0,-1

  	if,var,var3,,=,2

  	//  On 2003 FE PPCs: Change this VAR to 1 if you want the initial QL icons to be small!
  	//                   Change this VAR to 2 if you want the initial QL icons to be Normal!
  	//  On 2003 SE PPCs: Change this VAR to 2 if you want the initial QL icons to be BIG!
  	//                   Change this VAR to 1 if you want the initial QL icons to be Normal!

	shortcut,7,28,apps-%var12%-1,s
	button,7,28,32,32,-1,0,%apps-%var12%-1-highlight
	changefont,tahoma,10,b
	text,22,66,[name],cs
		shortcut,56,28,apps-%var12%-2,s
		button,56,28,32,32,-1,0,%apps-%var12%-2-highlight
		text,70,66,[name],cs
			shortcut,100,28,apps-%var12%-3,s
			button,100,28,32,32,-1,0,%apps-%var12%-3-highlight
			text,116,66,[name],cs
				shortcut,144,28,apps-%var12%-4,s
				button,144,28,32,32,-1,0,%apps-%var12%-4-highlight
				text,159,66,[name],cs
					shortcut,188,28,apps-%var12%-5,s
					button,188,28,32,32,-1,0,%apps-%var12%-5-highlight
					text,202,66,[name],cs
						shortcut,232,28,apps-%var12%-6,s
						button,232,28,32,32,-1,0,%apps-%var12%-6-highlight
						text,245,66,[name],cs
							shortcut,276,28,apps-%var12%-7,s
							button,276,28,32,32,-1,0,%apps-%var12%-7-highlight
							text,293,66,[name],cs
								shortcut,320,28,apps-%var12%-8,s
								button,320,28,32,32,-1,0,%apps-%var12%-8-highlight
								text,336,66,[name],cs
									shortcut,364,28,apps-%var12%-9,s
									button,364,28,32,32,-1,0,%apps-%var12%-9-highlight
									text,379,66,[name],cs
										shortcut,407,28,apps-%var12%-10,s
										button,407,28,32,32,-1,0,%apps-%var12%-10-highlight
										text,422,66,[name],cs

		//Prevent text from appearing in other sections
		shortcut,0,0,blank,s

   	else

   	shortcut,7,28,apps-%var12%-1,l
   	button,7,28,32,32,-1,0,%apps-%var12%-1-highlight
   	changefont,tahoma,10,b
   	text,22,66,[name],cs
   		shortcut,56,28,apps-%var12%-2,l
   		button,56,28,32,32,-1,0,%apps-%var12%-2-highlight
   		text,70,66,[name],cs
   			shortcut,100,28,apps-%var12%-3,l
   			button,100,28,32,32,-1,0,%apps-%var12%-3-highlight
   			text,116,66,[name],cs
   				shortcut,144,28,apps-%var12%-4,l
   				button,144,28,32,32,-1,0,%apps-%var12%-4-highlight
   				text,159,66,[name],cs
   					shortcut,188,28,apps-%var12%-5,l
   					button,188,28,32,32,-1,0,%apps-%var12%-5-highlight
   					text,202,66,[name],cs
   						shortcut,232,28,apps-%var12%-6,l
   						button,232,28,32,32,-1,0,%apps-%var12%-6-highlight
   						text,245,66,[name],cs
   							shortcut,276,28,apps-%var12%-7,l
   							button,276,28,32,32,-1,0,%apps-%var12%-7-highlight
   							text,293,66,[name],cs
   								shortcut,320,28,apps-%var12%-8,l
   								button,320,28,32,32,-1,0,%apps-%var12%-8-highlight
   								text,336,66,[name],cs
   									shortcut,364,28,apps-%var12%-9,l
   									button,364,28,32,32,-1,0,%apps-%var12%-9-highlight
   									text,379,66,[name],cs
   										shortcut,407,28,apps-%var12%-10,l
   										button,407,28,32,32,-1,0,%apps-%var12%-10-highlight
   										text,422,66,[name],cs

		//Prevent text from appearing in other sections
   		shortcut,0,0,blank,l

        endif

//        endregion,16,0

	//=================================================
	// REGION 16 - PAGE 2
	//	Loads Shortcuts
	//	Vars used: 16
	//=================================================
	region,16,2,-1

	if,var,var24,,=,1

		options,imagedir,Images\Icons-2B1

		else

		options,imagedir,Images\Icons-2B

	endif

  	if,var,var24,,=,1

	shortcut,7,28,apps-%var12%-11,s
	button,7,28,32,32,-1,0,%apps-%var12%-11-highlight
		shortcut,56,28,apps-%var12%-12,s
		button,56,28,32,32,-1,0,%apps-%var12%-12-highlight
			shortcut,100,28,apps-%var12%-13,s
			button,100,28,32,32,-1,0,%apps-%var12%-13-highlight
				shortcut,144,28,apps-%var12%-14,s
				button,144,28,32,32,-1,0,%apps-%var12%-14-highlight
					shortcut,188,28,apps-%var12%-15,s
					button,188,28,32,32,-1,0,%apps-%var12%-15-highlight
						shortcut,232,28,apps-%var12%-16,s
						button,232,28,32,32,-1,0,%apps-%var12%-16-highlight
							shortcut,276,28,apps-%var12%-17,s
							button,276,28,32,32,-1,0,%apps-%var12%-17-highlight
								shortcut,320,28,apps-%var12%-18,s
								button,320,28,32,32,-1,0,%apps-%var12%-18-highlight
									shortcut,364,28,apps-%var12%-19,s
									button,364,28,32,32,-1,0,%apps-%var12%-19-highlight
										shortcut,407,28,apps-%var12%-20,s
										button,407,28,32,32,-1,0,%apps-%var12%-20-highlight

		//Prevent text from appearing in other sections
		shortcut,0,0,blank,l

	else

   	if,var,var24,,=,2

	shortcut,7,28,apps-%var12%-11,s
	button,7,28,32,32,-1,0,%apps-%var12%-11-highlight
		shortcut,56,28,apps-%var12%-12,s
		button,56,28,32,32,-1,0,%apps-%var12%-12-highlight
			shortcut,100,28,apps-%var12%-13,s
			button,100,28,32,32,-1,0,%apps-%var12%-13-highlight
				shortcut,144,28,apps-%var12%-14,s
				button,144,28,32,32,-1,0,%apps-%var12%-14-highlight
					shortcut,188,28,apps-%var12%-15,s
					button,188,28,32,32,-1,0,%apps-%var12%-15-highlight
						shortcut,232,28,apps-%var12%-16,s
						button,232,28,32,32,-1,0,%apps-%var12%-16-highlight
							shortcut,276,28,apps-%var12%-17,s
							button,276,28,32,32,-1,0,%apps-%var12%-17-highlight
								shortcut,320,28,apps-%var12%-18,s
								button,320,28,32,32,-1,0,%apps-%var12%-18-highlight
									shortcut,364,28,apps-%var12%-19,s
									button,364,28,32,32,-1,0,%apps-%var12%-19-highlight
										shortcut,407,28,apps-%var12%-20,s
										button,407,28,32,32,-1,0,%apps-%var12%-20-highlight

		//Prevent text from appearing in other sections
		shortcut,0,0,blank,l
    	endif

  	endif
  endregion,16,2

changefont,tahoma,12,

endregion,15,0

//------  It is marked there, for now, to give you a guide for the quicklaunch area.-----\\
image,0,80,dotted_line.png

//============= END Quick Launch =============\\


//=================================================
// 	Begin Navigation Section (Button Area)
//
// 	REGION 1 - PAGE 0
//	Container for Navigation Icons
//	Subregions: None...maybe :-)
//	Vars used:
//	Dimensions:  29 x 288
//=================================================

region,1,0,30
defregion,1,448,0,29,288,1


	//== Main Button ==//  (Region 2,4,5, and 6)

if,region,2,0

	imagebutton,450,0,sidebar1-2.png,tr,2,4,0,1
	button,450,0,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

	button,450,3,29,29,-1,6,var9=1,5
	button,450,3,29,29,-1,6,var32=1,5
	button,450,3,29,29,-1,6,var33=1,5

	else

	imagebutton,450,0,sidebar1.png,tr,2,4,0,1
	button,450,0,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

	button,450,3,29,29,-1,6,var9=1,5
	button,450,3,29,29,-1,6,var32=1,5
	button,450,3,29,29,-1,6,var33=1,5

	button,450,3,29,29,3,4,999,
	button,450,3,29,29,7,4,999,
	button,450,3,29,29,8,4,999,
	button,450,3,29,29,9,4,999,
	button,450,3,29,29,10,4,999,
	button,450,3,29,29,11,4,999,
	button,450,3,29,29,12,4,999,
	button,450,3,29,29,15,4,0,
	button,450,3,29,29,16,4,0,
	button,450,3,29,29,17,4,999,
	button,450,3,29,29,18,4,999,

	button,450,3,29,29,2,10,0,2
	button,450,3,29,29,2,22,0,2
	button,450,3,29,29,2,23,0,2

	button,450,3,29,29,4,4,0
	button,450,3,29,29,5,4,0
	button,450,3,29,29,6,4,0

endif

	//== Weather Button ==//  (Region 3,7, and 8)


	if,region,3,0

		imagebutton,450,32,sidebar2-2.png,tr,3,4,0,1
		button,450,32,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

		button,450,32,29,29,-1,6,var9=1,3
		button,450,32,29,29,-1,6,var13=1,3
		button,450,32,29,29,-1,6,var16=1,3
		button,450,32,29,29,-1,6,var50=2,3
		button,450,32,29,29,-1,6,var58=1,3

		else

		imagebutton,450,32,sidebar2.png,tr,3,4,0,1
		button,450,32,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

		button,450,32,29,29,-1,6,var9=1,3
		button,450,32,29,29,-1,6,var13=1,3
		button,450,32,29,29,-1,6,var16=1,3
		button,450,32,29,29,-1,6,var50=2,3
		button,450,32,29,29,-1,6,var58=1,3

		button,450,32,29,29,2,4,999,3
		button,450,32,29,29,5,4,999,3
		button,450,32,29,29,6,4,999,3
		button,450,32,29,29,9,4,999,3
		button,450,32,29,29,10,4,999,3
		button,450,32,29,29,11,4,999,
		button,450,32,29,29,12,4,999,
		button,450,32,29,29,13,4,999,
		button,450,32,29,29,14,4,999,
		button,450,32,29,29,15,4,0,
		button,450,32,29,29,16,4,0,
		button,450,32,29,29,17,4,999,
		button,450,32,29,29,18,4,999,

	endif

	//== AGENDA BUTTON ==//

	if,region,9,0

		imagebutton,450,64,sidebar3-2.png,tr,9,4,0,1
		button,450,64,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

		button,450,64,29,29,18,4,999,

		button,450,64,29,29,-1,6,var13=183,9
		button,450,64,29,29,-1,6,var16=1,9
		button,450,64,29,29,-1,6,var32=1,9
		button,450,64,29,29,-1,6,var33=1,9
		button,450,64,29,29,-1,6,var57=1,9
		button,450,64,29,29,-1,6,var61=1,9
		button,450,64,29,29,9,10,0,9
		button,450,64,29,29,9,22,0,9
		button,450,64,29,29,9,23,0,9
		button,450,64,29,29,9,10,1,9
		button,450,64,29,29,9,22,1,9
		button,450,64,29,29,9,23,1,9

		else

		imagebutton,450,64,sidebar3.png,tr,9,4,0,1
		button,450,64,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

		button,450,64,29,29,-1,6,var13=183,9
		button,450,64,29,29,-1,6,var16=1,9
		button,450,64,29,29,-1,6,var32=1,9
		button,450,64,29,29,-1,6,var33=1,9
		button,450,64,29,29,-1,6,var57=1,9
		button,450,64,29,29,-1,6,var61=1,9
		button,450,64,29,29,2,4,999,
		button,450,64,29,29,3,4,999,
		button,450,64,29,29,4,4,999,
		button,450,64,29,29,5,4,999,
		button,450,64,29,29,6,4,999,
		button,450,64,29,29,7,4,999,
		button,450,64,29,29,8,4,999,
		button,450,64,29,29,10,4,999,
		button,450,64,29,29,11,4,999,
		button,450,64,29,29,12,4,999,
		button,450,64,29,29,13,4,999,
		button,450,64,29,29,14,4,999,
		button,450,64,29,29,15,4,0,
		button,450,64,29,29,16,4,0,
		button,450,64,29,29,17,4,999,
		button,450,64,29,29,18,4,999,

		button,450,64,29,29,9,10,0,9
		button,450,64,29,29,9,22,0,9
		button,450,64,29,29,9,23,0,9
		button,450,64,29,29,9,10,1,9
		button,450,64,29,29,9,22,1,9
		button,450,64,29,29,9,23,1,9

	endif

	//== Slideshow Button ==//

	if,region,10,0

		imagebutton,450,96,sidebar4-2.png,tr,10,4,0,1
		button,450,96,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

		button,450,96,29,29,10,10,0,10
		button,450,96,29,29,10,22,0,10
		button,450,96,29,29,10,23,0,10
		button,450,96,29,29,10,10,1,10

		else

		imagebutton,450,96,sidebar4.png,tr,10,4,0,1
		button,450,96,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

		button,450,96,29,29,2,4,999,
		button,450,96,29,29,3,4,999,
		button,450,96,29,29,4,4,999,
		button,450,96,29,29,5,4,999,
		button,450,96,29,29,6,4,999,
		button,450,96,29,29,7,4,999,
		button,450,96,29,29,8,4,999,
		button,450,96,29,29,9,4,999,
		button,450,96,29,29,11,4,999,
		button,450,96,29,29,12,4,999,
		button,450,96,29,29,13,4,999,
		button,450,96,29,29,14,4,999,
		button,450,96,29,29,15,4,0,
		button,450,96,29,29,16,4,0,
		button,450,96,29,29,17,4,999,
		button,450,96,29,29,18,4,999,

		button,450,96,29,29,10,10,0,10
		button,450,96,29,29,10,22,0,10
		button,450,96,29,29,10,23,0,10
		button,450,96,29,29,10,10,1,10

	endif

	//== Time Zone Button ==//

	if,region,11,0

		imagebutton,450,128,sidebar6-2.png,tr,11,4,0,1
		button,450,128,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

		else

		if,region,11,1

			imagebutton,450,128,sidebar6-2.png,tr,11,4,1,1
			button,450,128,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

			else

			imagebutton,450,128,sidebar6.png,tr,11,4,0,1
			button,450,128,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

			button,450,128,29,29,2,4,999,
			button,450,128,29,29,3,4,999,
			button,450,128,29,29,4,4,999,
			button,450,128,29,29,5,4,999,
			button,450,128,29,29,6,4,999,
			button,450,128,29,29,7,4,999,
			button,450,128,29,29,8,4,999,
			button,450,128,29,29,9,4,999,
			button,450,128,29,29,10,4,999,
			button,450,128,29,29,12,4,999,
			button,450,128,29,29,13,4,999,
			button,450,128,29,29,14,4,999,
			button,450,128,29,29,15,4,0,
			button,450,128,29,29,16,4,0,
			button,450,128,29,29,17,4,999,
			button,450,128,29,29,18,4,999,

		endif
	endif

	//== RSS Button ==//

	if,region,12,0

		imagebutton,450,160,sidebar5-2.png,tr,12,4,0,1

		button,450,160,29,29,13,4,0,1
		button,450,160,29,29,14,4,0,1
		button,450,160,29,29,-1,6,var2=1
		button,450,160,29,29,-1,6,var4=1
		button,450,160,29,29,-1,6,var5=1
		button,450,160,29,29,-1,6,var6=113
		button,450,160,29,29,-1,6,var26=18
		button,450,160,29,29,-1,6,var27=158
		button,450,160,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

		else

		imagebutton,450,160,sidebar5.png,tr,12,4,0,1

		button,450,160,29,29,13,4,0,1
		button,450,160,29,29,14,4,0,1
		button,450,160,29,29,-1,6,var2=1
		button,450,160,29,29,-1,6,var4=1
		button,450,160,29,29,-1,6,var5=1
		button,450,160,29,29,-1,6,var6=113
		button,450,160,29,29,-1,6,var26=18
		button,450,160,29,29,-1,6,var27=158
		button,450,160,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

		button,450,160,29,29,2,4,999,
		button,450,160,29,29,3,4,999,
		button,450,160,29,29,4,4,999,
		button,450,160,29,29,5,4,999,
		button,450,160,29,29,6,4,999,
		button,450,160,29,29,7,4,999,
		button,450,160,29,29,8,4,999,
		button,450,160,29,29,9,4,999,
		button,450,160,29,29,10,4,999,
		button,450,160,29,29,11,4,999,
		button,450,160,29,29,15,4,0,
		button,450,160,29,29,16,4,0,
		button,450,160,29,29,17,4,999,
		button,450,160,29,29,18,4,999,
		button,450,160,29,29,19,4,999,

	endif

	//== System Button ==//

	if,region,17,0

		imagebutton,450,192,sidebar7-2.png,tr,17,4,0,1
		button,450,192,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

		else

		imagebutton,450,192,sidebar7.png,tr,17,4,0,1
		button,450,192,29,29,-1,0,\Program Files\ImageViewer\imvclose02.exe

		button,450,192,29,29,2,4,999,
		button,450,192,29,29,3,4,999,
		button,450,192,29,29,4,4,999,
		button,450,192,29,29,5,4,999,
		button,450,192,29,29,6,4,999,
		button,450,192,29,29,7,4,999,
		button,450,192,29,29,8,4,999,
		button,450,192,29,29,9,4,999,
		button,450,192,29,29,10,4,999,
		button,450,192,29,29,11,4,999,
		button,450,192,29,29,12,4,999,
		button,450,192,29,29,13,4,999,
		button,450,192,29,29,14,4,999,
		button,450,192,29,29,15,4,0,
		button,450,192,29,29,16,4,0,

	endif

//== Launch TPconfig App Button ==//

	imagebutton,450,224,sidebar8.png,t,-1,0,%apps-4-1,

//== Suspend Button ==//

	imagebutton,450,256,sidebar9.png,tr,-1,0,%apps-4-2-highlight

endregion,1,0

// Needed only if added to bottom of skin.
offset,0,288

//------------------ This line can be masked out if you want dotted line removed.
//------  It is marked there, for now, to give you a guide for the toolbar (quicklaunch)
//image,0,80,dotted_line.png



